The members of System.Web.UI.WebControls.TreeView are listed below.
See Also: Inherited members from System.Web.UI.WebControls.HierarchicalDataBoundControl
TreeView() |
Initializes a new instance of the System.Web.UI.WebControls.TreeView class. |
| 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. |
CollapseAll()
| ||
override | DataBind()
| |
ExpandAll()
| ||
FindNode(string)
| ||
override | RenderBeginTag(System.Web.UI.HtmlTextWriter)
| |
override | RenderEndTag(System.Web.UI.HtmlTextWriter)
| |
| SelectedNodeChanged |
Occurs when a node is selected in the System.Web.UI.WebControls.TreeView control. | |
| TreeNodeCheckChanged |
Occurs when a check box in the System.Web.UI.WebControls.TreeView control changes state between posts to the server. | |
| TreeNodeCollapsed |
Occurs when a node is collapsed in the System.Web.UI.WebControls.TreeView control. | |
| TreeNodeDataBound |
Occurs when a data item is bound to a node in the System.Web.UI.WebControls.TreeView control. | |
| TreeNodeExpanded |
Occurs when a node is expanded in the System.Web.UI.WebControls.TreeView control. | |
| TreeNodePopulate |
Occurs when a node with its TreeNode.PopulateOnDemand property set to true is expanded in the System.Web.UI.WebControls.TreeView control. |
| System.Web.UI.ICallbackEventHandler.GetCallbackResult |
Returns the result of a callback event that targets a control. | |
| System.Web.UI.IPostBackDataHandler.LoadPostData |
Processes postback data for the System.Web.UI.WebControls.TreeView control. | |
| System.Web.UI.ICallbackEventHandler.RaiseCallbackEvent |
Raises the callback event using the specified arguments. | |
| System.Web.UI.IPostBackEventHandler.RaisePostBackEvent |
Enables the System.Web.UI.WebControls.TreeView control to process an event that is raised when a form is posted to the server. | |
| System.Web.UI.IPostBackDataHandler.RaisePostDataChangedEvent |
Signals the System.Web.UI.WebControls.TreeView control to notify the ASP.NET application that the state of the control has changed. |