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

The properties of System.Web.UI.WebControls.TreeView are listed below. For a list of all members, see the TreeView Members list.

See Also: Inherited members from System.Web.UI.WebControls.HierarchicalDataBoundControl

Public Properties

AutoGenerateDataBindingsbool.

Gets or sets a value indicating whether the System.Web.UI.WebControls.TreeView control automatically generates tree node bindings.

[read-only]
CheckedNodesTreeNodeCollection.

Gets a collection of System.Web.UI.WebControls.TreeNode objects that represent the nodes in the System.Web.UI.WebControls.TreeView control that display a selected check box.

CollapseImageToolTipstring.

Gets or sets the ToolTip for the image that is displayed for the collapsible node indicator.

CollapseImageUrlstring.

Gets or sets the URL to a custom image for the collapsible node indicator.

[read-only]
DataBindingsTreeNodeBindingCollection.

Gets a collection of System.Web.UI.WebControls.TreeNodeBinding objects that define the relationship between a data item and the node that it is binding to.

EnableClientScriptbool.

Gets or sets a value indicating whether the System.Web.UI.WebControls.TreeView control renders client-side script to handle expanding and collapsing events.

ExpandDepthint.

Gets or sets the number of levels that are expanded when a System.Web.UI.WebControls.TreeView control is displayed for the first time.

ExpandImageToolTipstring.

Gets or sets the ToolTip for the image that is displayed for the expandable node indicator.

ExpandImageUrlstring.

Gets or sets the URL to a custom image for the expandable node indicator.

[read-only]
HoverNodeStyleStyle.

Gets a reference to the System.Web.UI.WebControls.TreeNodeStyle object that allows you to set the appearance of a node when the mouse pointer is positioned over it.

ImageSetTreeViewImageSet.

Gets or sets the group of images to use for the System.Web.UI.WebControls.TreeView control.

[read-only]
LeafNodeStyleTreeNodeStyle.

Gets a reference to the System.Web.UI.WebControls.TreeNodeStyle object that allows you to set the appearance of leaf nodes.

[read-only]
LevelStylesTreeNodeStyleCollection.

Gets a collection of System.Web.UI.WebControls.Style objects that represent the node styles at the individual levels of the tree.

LineImagesFolderstring.

Gets or sets the path to a folder that contains the line images that are used to connect child nodes to parent nodes.

MaxDataBindDepthint.

Gets or sets the maximum number of tree levels to bind to the System.Web.UI.WebControls.TreeView control.

NodeIndentint.

Gets or sets the indentation amount (in pixels) for the child nodes of the System.Web.UI.WebControls.TreeView control.

[read-only]
NodesTreeNodeCollection.

Gets a collection of System.Web.UI.WebControls.TreeNode objects that represents the root nodes in the System.Web.UI.WebControls.TreeView control.

[read-only]
NodeStyleTreeNodeStyle.

Gets a reference to the System.Web.UI.WebControls.TreeNodeStyle object that allows you to set the default appearance of the nodes in the System.Web.UI.WebControls.TreeView control.

NodeWrapbool.

Gets or sets a value indicating whether text wraps in a node when the node runs out of space.

NoExpandImageUrlstring.

Gets or sets the URL to a custom image for the non-expandable node indicator.

[read-only]
ParentNodeStyleTreeNodeStyle.

Gets a reference to the System.Web.UI.WebControls.TreeNodeStyle object that allows you to set the appearance of parent nodes in the System.Web.UI.WebControls.TreeView control.

PathSeparatorchar.

Gets or sets the character that is used to delimit the node values that are specified by the TreeNode.ValuePath property.

PopulateNodesFromClientbool.

Gets or sets a value indicating whether node data is populated on demand from the client.

[read-only]
RootNodeStyleTreeNodeStyle.

Gets a reference to the System.Web.UI.WebControls.TreeNodeStyle object that allows you to set the appearance of the root node in the System.Web.UI.WebControls.TreeView control.

[read-only]
SelectedNodeTreeNode.

Gets a System.Web.UI.WebControls.TreeNode object that represents the selected node in the System.Web.UI.WebControls.TreeView control.

[read-only]
SelectedNodeStyleTreeNodeStyle.

Gets the System.Web.UI.WebControls.TreeNodeStyle object that controls the appearance of the selected node in the System.Web.UI.WebControls.TreeView control.

[read-only]
SelectedValuestring.

Gets the value of the selected node.

ShowCheckBoxesTreeNodeTypes.

Gets or sets a value indicating which node types will display a check box in the System.Web.UI.WebControls.TreeView control.

ShowExpandCollapsebool.

Gets or sets a value indicating whether expansion node indicators are displayed.

ShowLinesbool.

Gets or sets a value indicating whether lines connecting child nodes to parent nodes are displayed.

SkipLinkTextstring.

Gets or sets a value that is used to render alternate text for screen readers to skip the content for the control.

Targetstring.

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

override
Visiblebool.

Gets or sets a value indicating whether the control is rendered as UI on the page.

Protected Properties