Node Property
Retrieves the index of the last TreeNode that received the event.
Syntax
Visual Basic Public ReadOnly Property Node As string C# public string Node { get; } Managed C++ public: __property string get_Node(); JScript public function get Node() : string;
Possible Values
The property is read-only. The property has no default value.
Remarks
To retrieve the TreeNode object, pass this index to the GetNodeFromIndex method.
The structure of the index returned by this method is a concatenation of the ordinal number of the parent node at each level counting through the tree from 0 down to the selected node and delimiting each level with a dot (.). The uppermost node in the top level of the tree is 0; the second node is 1, and so on. The node that immediately follows the first top-level node is 0.0; the second is 0.1, and so on. For example, for the index value 1.3.2, 1 is the second node at the top level of the tree; 3 is the fourth node under node 1; and 2 is the third node under node 1.3.
Property Information
Applies To
TreeViewClickEventArgs
See Also
Internet Explorer WebControls, About the TreeView WebControl