TreeNodeEventArgs.Node Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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
Show: