Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

TreeNodeEventArgs::Node Property

 

Gets the node that raised the event.

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

public:
property TreeNode^ Node {
	TreeNode^ 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:
© 2017 Microsoft