System.Web.UI.WebControls.TreeNode: Property Members

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

Public Properties

Checkedbool.

Gets or sets a value that indicates whether the node's check box is selected.

[read-only]
ChildNodesTreeNodeCollection.

Gets a System.Web.UI.WebControls.TreeNodeCollection collection that contains the first-level child nodes of the current node.

[read-only]
DataBoundbool.

Gets a value that indicates whether the node was created through data binding.

[read-only]
DataItemobject.

Gets the data item that is bound to the control.

[read-only]
DataPathstring.

Gets the path to the data bound to the node.

[read-only]
Depthint.

Gets the depth of the node.

ExpandedNullable<bool>.

Gets or sets a value that indicates whether the node is expanded.

ImageToolTipstring.

Gets or sets the ToolTip text for the image displayed next to a node.

ImageUrlstring.

Gets or sets the URL to an image that is displayed next to the node.

NavigateUrlstring.

Gets or sets the URL to navigate to when the node is clicked.

[read-only]
ParentTreeNode.

Gets the parent node of the current node.

PopulateOnDemandbool.

Gets or sets a value that indicates whether the node is populated dynamically.

SelectActionTreeNodeSelectAction.

Gets or sets the event or events to raise when a node is selected.

Selectedbool.

Gets or sets a value that indicates whether the node is selected.

ShowCheckBoxNullable<bool>.

Gets or sets a value that indicates whether a check box is displayed next to the node.

Targetstring.

Gets or sets the target window or frame in which to display the Web page content associated with a node.

Textstring.

Gets or sets the text displayed for the node in the System.Web.UI.WebControls.TreeView control.

ToolTipstring.

Gets or sets the ToolTip text for the node.

Valuestring.

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]
ValuePathstring.

Gets the path from the root node to the current node.

Protected Properties

[read-only]
IsTrackingViewStatebool.

Gets a value that indicates whether the node is saving changes to its view state.