I have a TreeView control that I have created in XAML in a WPF program
adding a few pairs After the nodes at the root level, I have written a code that is like hiding through tree structure:
ItemCollection items = treeView1.Items; Foreach (tree view in item) * {...}
Once I search for a place in this loop, where I want to include a child node, How about going to get involved?
This is a piece of very naive code that does it, you can make it more protective If you really use it.
var items = tree view 1 ITEM; Var items = New TreeViewItem () {header = "Interesting"}; Items.Add (item); Var subitem = new TreeViewItem () {header = "sub-item"}; Foreign objects (see tree view in item) {If (N. Header == "Interesting") (as Trivium). Edd (subtitle); }
Comments
Post a Comment