TreeViewHitTestInfo::Node Property
.NET Framework (current version)
Namespace:
System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Return to top
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
The following code example demonstrates how to use the Node property. To run this example, create a Windows Form that contains a TreeView named treeView1, and populate it with several levels of nodes. Paste the following code into a form, and associate the MouseDown event of treeView1 with the treeView1_MouseDown method.
.NET Framework
Available since 2.0
Available since 2.0
Show: