How to get TreeNode from a handle

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

If I have "Handle" of a TreeNode, how can I refer to the treenode?
For example, if the treenode is tn then I want to get tn.Text or tn.Index.

In other words, TreeNode has its pointer property as Handle, how do I
crossreference?
 
OOPS ! Asked just too early.

This is what I was looking for:
public static TreeNode FromHandle(
TreeView tree,
IntPtr handle
);
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top