TreeNode Forms to WPF conversion
11,147
Solution 1
It is TreeViewItem.
Solution 2
TreeNode
has been replaced with TreeViewItem
.
TreeNode.Text
is equivalent to TreeViewItem.Header
TreeNode.Nodes
is equivalent to TreeViewItem.Items
Author by
Krill
Updated on June 09, 2022Comments
-
Krill almost 2 years
I have been given the task of converting a forms application to WPF. The application used
TreeNode
which is fromSystem.Windows.Forms.TreeView
. I know WPF hasTreeView
but I can't findTreeNode
is there a direct conversion for it from Forms to WPF? -
Krill about 14 yearsI would like to add that this is the best conversion we have but, the functionality is not exact. Or I should say the way you go about doing things isn't the same but has more or less the same outcome.
-
Haapavuo over 9 yearsI hope you could upvote this so I can give answers again. Thanks.
-
IceCode over 5 yearsThis is awsome!