I have been given 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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With