Node Property
Collapse the table of content
Expand the table of content

TreeNodeEventArgs.Node Property


Gets the node that raised the event.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

member Node : TreeNode with get

Property Value

Type: System.Web.UI.WebControls.TreeNode

A TreeNode that represents the node that raised the event.

Use the Node property to access the properties of the node that raised the event. The Node property returns a TreeNode object and is commonly used to determine the contents of the node, to modify the properties of the node, or to add child nodes dynamically.

The following code example demonstrates how to use the Node property to determine the text value of an expanded node.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
© 2015 Microsoft