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
AutoGenerateDataBindings | bool.
![]() Gets or sets a value indicating whether the System.Web.UI.WebControls.TreeView control automatically generates tree node bindings. | |
[read-only] | CheckedNodes | TreeNodeCollection.
![]() 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. |
CollapseImageToolTip | string.
![]() Gets or sets the ToolTip for the image that is displayed for the collapsible node indicator. | |
CollapseImageUrl | string.
![]() Gets or sets the URL to a custom image for the collapsible node indicator. | |
[read-only] | DataBindings | TreeNodeBindingCollection.
![]() 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. |
EnableClientScript | bool.
![]() Gets or sets a value indicating whether the System.Web.UI.WebControls.TreeView control renders client-side script to handle expanding and collapsing events. | |
ExpandDepth | int.
![]() Gets or sets the number of levels that are expanded when a System.Web.UI.WebControls.TreeView control is displayed for the first time. | |
ExpandImageToolTip | string.
![]() Gets or sets the ToolTip for the image that is displayed for the expandable node indicator. | |
ExpandImageUrl | string.
![]() Gets or sets the URL to a custom image for the expandable node indicator. | |
[read-only] | HoverNodeStyle | Style.
![]() 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. |
ImageSet | TreeViewImageSet.
![]() Gets or sets the group of images to use for the System.Web.UI.WebControls.TreeView control. | |
[read-only] | LeafNodeStyle | TreeNodeStyle.
![]() Gets a reference to the System.Web.UI.WebControls.TreeNodeStyle object that allows you to set the appearance of leaf nodes. |
[read-only] | LevelStyles | TreeNodeStyleCollection.
![]() Gets a collection of System.Web.UI.WebControls.Style objects that represent the node styles at the individual levels of the tree. |
LineImagesFolder | string.
![]() Gets or sets the path to a folder that contains the line images that are used to connect child nodes to parent nodes. | |
MaxDataBindDepth | int.
![]() Gets or sets the maximum number of tree levels to bind to the System.Web.UI.WebControls.TreeView control. | |
NodeIndent | int.
![]() Gets or sets the indentation amount (in pixels) for the child nodes of the System.Web.UI.WebControls.TreeView control. | |
[read-only] | Nodes | TreeNodeCollection.
![]() 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] | NodeStyle | TreeNodeStyle.
![]() 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. |
NodeWrap | bool.
![]() Gets or sets a value indicating whether text wraps in a node when the node runs out of space. | |
NoExpandImageUrl | string.
![]() Gets or sets the URL to a custom image for the non-expandable node indicator. | |
[read-only] | ParentNodeStyle | TreeNodeStyle.
![]() 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. |
PathSeparator | char.
![]() Gets or sets the character that is used to delimit the node values that are specified by the TreeNode.ValuePath property. | |
PopulateNodesFromClient | bool.
![]() Gets or sets a value indicating whether node data is populated on demand from the client. | |
[read-only] | RootNodeStyle | TreeNodeStyle.
![]() 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] | SelectedNode | TreeNode.
![]() Gets a System.Web.UI.WebControls.TreeNode object that represents the selected node in the System.Web.UI.WebControls.TreeView control. |
[read-only] | SelectedNodeStyle | TreeNodeStyle.
![]() 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] | SelectedValue | string.
![]() Gets the value of the selected node. |
ShowCheckBoxes | TreeNodeTypes.
![]() Gets or sets a value indicating which node types will display a check box in the System.Web.UI.WebControls.TreeView control. | |
ShowExpandCollapse | bool.
![]() Gets or sets a value indicating whether expansion node indicators are displayed. | |
ShowLines | bool.
![]() Gets or sets a value indicating whether lines connecting child nodes to parent nodes are displayed. | |
SkipLinkText | string.
![]() Gets or sets a value that is used to render alternate text for screen readers to skip the content for the control. | |
Target | string.
![]() Gets or sets the target window or frame in which to display the Web page content that is associated with a node. | |
override | Visible | bool.
![]() Gets or sets a value indicating whether the control is rendered as UI on the page. |
[read-only] override | TagKey | System.Web.UI.HtmlTextWriterTag.
![]() Gets the System.Web.UI.HtmlTextWriterTag value for the System.Web.UI.WebControls.TreeView control. |