开发者

TreeNode Forms to WPF conversion

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜