This documentation is archived and is not being maintained.
TreeNode Properties
Visual Studio 2008
The TreeNode type exposes the following members.
| Name | Description | |
|---|---|---|
|
Checked | Gets or sets a value that indicates whether the node's check box is selected. |
|
ChildNodes | Gets a TreeNodeCollection collection that contains the first-level child nodes of the current node. |
|
DataBound | Gets a value that indicates whether the node was created through data binding. |
|
DataItem | Gets the data item that is bound to the control. |
|
DataPath | Gets the path to the data bound to the node. |
|
Depth | Gets the depth of the node. |
|
Expanded | Gets or sets a value that indicates whether the node is expanded. |
|
ImageToolTip | Gets or sets the ToolTip text for the image displayed next to a node. |
|
ImageUrl | Gets or sets the URL to an image that is displayed next to the node. |
|
IsTrackingViewState | Gets a value that indicates whether the node is saving changes to its view state. |
|
NavigateUrl | Gets or sets the URL to navigate to when the node is clicked. |
|
Parent | Gets the parent node of the current node. |
|
PopulateOnDemand | Gets or sets a value that indicates whether the node is populated dynamically. |
|
SelectAction | Gets or sets the event or events to raise when a node is selected. |
|
Selected | Gets or sets a value that indicates whether the node is selected. |
|
ShowCheckBox | Gets or sets a value that indicates whether a check box is displayed next to the node. |
|
Target | Gets or sets the target window or frame in which to display the Web page content associated with a node. |
|
Text | Gets or sets the text displayed for the node in the TreeView control. |
|
ToolTip | Gets or sets the ToolTip text for the node. |
|
Value | Gets or sets a non-displayed value used to store any additional data about the node, such as data used for handling postback events. |
|
ValuePath | Gets the path from the root node to the current node. |
| Name | Description | |
|---|---|---|
|
IStateManager::IsTrackingViewState | Infrastructure. For a description of this member, see IsTrackingViewState. |
Show: