开发者

TreeNode Forms to WPF conversion

开发者 https://www.devze.com 2022-12-19 02:36 出处:网络
I have been give开发者_如何转开发n the task of converting a forms application to WPF.The application used TreeNode which is from System.Windows.Forms.TreeView.I know WPF has TreeView but I can\'t find

I have been give开发者_如何转开发n the task of converting a forms application to WPF. The application used TreeNode which is from System.Windows.Forms.TreeView. I know WPF has TreeView but I can't find TreeNode is there a direct conversion for it from Forms to WPF?


TreeNode has been replaced with TreeViewItem.

TreeNode.Text is equivalent to TreeViewItem.Header

TreeNode.Nodes is equivalent to TreeViewItem.Items


It is TreeViewItem.

0

精彩评论

暂无评论...
验证码 换一张
取 消