if there is a tree view control that contains nodes how can i access(get index) a specefic node by its value or text from the code so that i can add child nodes for it
How to access a tree node by index on a tree view control in a c# code ?
If using .NET 2.0 framework.%26gt;.NET Framework Class Library %26gt; System.Windows.Forms %26gt; TreeView Class %26gt; TreeView Methods
have these two methods for accessing a specific node:
1. TreeView.GetNodeAt (Point): Retrieves the tree node that is at the specified point.
2. TreeView.GetNodeAt (Int32, Int32) Retrieves the tree node at the point with the specified coordinates.
Reply:Use FindNode
redbud
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment