The properties of System.Web.UI.WebControls.TreeNode are listed below. For a list of all members, see the TreeNode Members list.
See Also: Inherited members from System.Object
Checked | bool.
Gets or sets a value that indicates whether the node's check box is selected. | |
[read-only] | ChildNodes | TreeNodeCollection.
Gets a System.Web.UI.WebControls.TreeNodeCollection collection that contains the first-level child nodes of the current node. |
[read-only] | DataBound | bool.
Gets a value that indicates whether the node was created through data binding. |
[read-only] | DataItem | object.
Gets the data item that is bound to the control. |
[read-only] | DataPath | string.
Gets the path to the data bound to the node. |
[read-only] | Depth | int.
Gets the depth of the node. |
Expanded | Nullable<bool>.
Gets or sets a value that indicates whether the node is expanded. | |
ImageToolTip | string.
Gets or sets the ToolTip text for the image displayed next to a node. | |
ImageUrl | string.
Gets or sets the URL to an image that is displayed next to the node. | |
NavigateUrl | string.
Gets or sets the URL to navigate to when the node is clicked. | |
[read-only] | Parent | TreeNode.
Gets the parent node of the current node. |
PopulateOnDemand | bool.
Gets or sets a value that indicates whether the node is populated dynamically. | |
SelectAction | TreeNodeSelectAction.
Gets or sets the event or events to raise when a node is selected. | |
Selected | bool.
Gets or sets a value that indicates whether the node is selected. | |
ShowCheckBox | Nullable<bool>.
Gets or sets a value that indicates whether a check box is displayed next to the node. | |
Target | string.
Gets or sets the target window or frame in which to display the Web page content associated with a node. | |
Text | string.
Gets or sets the text displayed for the node in the System.Web.UI.WebControls.TreeView control. | |
ToolTip | string.
Gets or sets the ToolTip text for the node. | |
Value | string.
Gets or sets a non-displayed value used to store any additional data about the node, such as data used for handling postback events. | |
[read-only] | ValuePath | string.
Gets the path from the root node to the current node. |
[read-only] | IsTrackingViewState | bool.
Gets a value that indicates whether the node is saving changes to its view state. |