Name | Description | |
---|---|---|
TreeView Constructor | Creates one TreeView instance. |
The following tables list the members exposed by TreeView.
Name | Description | |
---|---|---|
TreeView Constructor | Creates one TreeView instance. |
Name | Description | |
---|---|---|
AllowDragging | Gets or sets a value that determines whether users can drag and drop nodes within the TreeView control. | |
AutoCollapse | Gets or sets a value that determines if sibling nodes should be collapsed when a node is expanded. | |
CheckedMemberPath | Gets or sets the name of the property (or properties) to bind to the node's checked state. | |
CheckOnClick | Gets or sets a value that determines whether to toggle checkboxes when the user clicks the node header. | |
ChildItemsPath | Gets or sets the name of the property (or properties) that contains the child items for each node. When it is not set, ['items'] will be used. | |
CollapseOnClick | Gets or sets a value that determines whether to collapse expanded nodes when the user clicks the node header. | |
CollapseWhenDisabled | Gets or sets a value that determines whether nodes should be collapsed when they are disabled. | |
Components | Gets the child components. (Inherited from C1.Web.Mvc.Component) | |
CssClass | Gets or sets the css class of the control. (Inherited from C1.Web.Mvc.Control) | |
CssStyles | Gets the CSS style applied in the control. (Inherited from C1.Web.Mvc.Control) | |
DisplayMemberPath | Gets or sets the name of the property (or properties) to use as the visual representation of the nodes. When it is not set, ['header'] will be used. | |
ExpandOnClick | Gets or sets a value that determines whether to expand collapsed nodes when the user clicks the node header. | |
ExpandOnLoad | Gets or sets a value that determines whether to toggle checkboxes when the user clicks the node header. | |
Height | Gets or sets the height of the control. (Inherited from C1.Web.Mvc.Control) | |
HtmlAttributes | Gets the HTML attributes. (Inherited from C1.Web.Mvc.Control) | |
Id | Gets or sets the component id. (Inherited from C1.Web.Mvc.Component) | |
ImageMemberPath | Gets or sets the name of the property (or properties) to use as a source of images for the nodes. | |
IsAnimated | Gets or sets a value that indicates whether to use animations when expanding or collapsing nodes. | |
IsContentHtml | Gets or sets a value indicating whether items are bound to plain text or HTML. | |
IsDisabled | Gets or sets a value that determines whether the control is disabled. (Inherited from C1.Web.Mvc.Control) | |
IsReadOnly | Gets or sets a value that determines whether users can edit the text in the nodes. When it is set to false, users may edit the content of the tree nodes by typing directly into the nodes. The F2 key can also be used to enter edit mode with the whole node content selected. | |
IsTemplate | Gets or sets a boolean value which indicates whether transfer this control to template mode. (Inherited from C1.Web.Mvc.Control) | |
LazyLoadActionUrl | Gets or sets the url to get the lazy nodes in TreeView. | |
LazyLoadFunction | Gets or sets a client function that loads child nodes on demand. | |
LoadActionUrl | Gets or sets the url to get the items in TreeView. | |
OnClientCheckedItemsChanged | Occurs when the checked items are changed. | |
OnClientDragEnd | Occurs when the user finishes a drag/drop operation, either by dropping a node into a new location or by canceling the operation with the mouse or keyboard. | |
OnClientDragOver | Occurs while the user drags a node over other nodes on the TreeView. | |
OnClientDragStart | Occurs when the user starts dragging a node. This event only occurs if the AllowDrag property is set to true. | |
OnClientDrop | Occurs when the user drops a on the TreeView. | |
OnClientFormatItem | Occurs when an element representing a node has been created. | |
OnClientGotFocus | Occurs when the control gets the focus. (Inherited from C1.Web.Mvc.Control) | |
OnClientIsCheckedChanged | Occurs after the check status of a node is changed. | |
OnClientIsCheckedChanging | Occurs before the check status of a node is changed. | |
OnClientIsCollapsedChanged | Occurs after a node is collapsed or expanded. | |
OnClientIsCollapsedChanging | Occurs before a node is collapsed or expanded. | |
OnClientItemClicked | Occurs when the user clicks an item or presses the Enter key and an item is selected. | |
OnClientItemsSourceChanged | Occurs when the value of the ItemsSource property changes. | |
OnClientLoadedItems | Occurs after the tree items have been generated. | |
OnClientLoadingItems | Occurs before the tree items are generated. | |
OnClientLostFocus | Occurs when the control loses the focus. (Inherited from C1.Web.Mvc.Control) | |
OnClientNodeEditEnded | Occurs after a node has exited edit mode. | |
OnClientNodeEditEnding | Occurs before a node exits edit mode. | |
OnClientNodeEditStarted | Occurs after a node has entered edit mode. | |
OnClientNodeEditStarting | Occurs before a node enters edit mode. | |
OnClientRefreshed | Occurs after the control has refreshed its contents. (Inherited from C1.Web.Mvc.Control) | |
OnClientRefreshing | Occurs when the control is about to refresh its contents. (Inherited from C1.Web.Mvc.Control) | |
OnClientReponseTextParsing | Occurs when parsing the response text. | |
OnClientRequestDataStringifying | Occurs when serializing the request data. | |
OnClientSelectedItemChanged | Occurs when the selected item is changes. | |
Selector | Gets or sets the selector to macth the dom element(s) which the control is attached to. (Inherited from C1.Web.Mvc.Control) | |
ShowCheckboxes | Gets or sets a value that determines whether the TreeView control should add checkboxes to nodes and manage their state. This property can be used only on trees without lazy-loaded nodes(LazyLoadFunction is not set and IsLazyLoading is false). | |
Source | Gets or sets the array that contains the items in TreeView. Arrays usually have a hierarchical structure with items that contain child items. There is no fixed limit to the depth of the items. | |
TabOrder | Gets or sets a value of the tabindex attribute associated with the control. (Inherited from C1.Web.Mvc.Control) | |
TemplateBindings | Gets the collection of the template bindings. (Inherited from C1.Web.Mvc.Control) | |
UniqueId | Gets a value which represents the unique id for the control. (Inherited from C1.Web.Mvc.Control) | |
Width | Gets or sets the width of the control. (Inherited from C1.Web.Mvc.Control) |
Name | Description | |
---|---|---|
ChildComponentsCreated | Gets or sets a boolean value indicates whether child components are created. (Inherited from C1.Web.Mvc.Component) | |
HasScripts | Gets a boolean value indicates whether current component has the scripts which need to be rendered. (Inherited from C1.Web.Mvc.Component) | |
UrlHelper | Gets the url helper. (Inherited from C1.Web.Mvc.Component) |
Name | Description | |
---|---|---|
Render | (Inherited from C1.Web.Mvc.Control) | |
WriteTo | Writer the process result of current instance to the writer. (Inherited from C1.Web.Mvc.Component) |
Name | Description | |
---|---|---|
CreateChildComponents | Creates child components. (Inherited from C1.Web.Mvc.Component) | |
EnsureChildComponents | Ensure the child components created. (Inherited from C1.Web.Mvc.Component) | |
OnPreRender | This method is performed before rendering. (Inherited from C1.Web.Mvc.Control) | |
RegisterStartupScript | Registers the startup scripts. (Inherited from C1.Web.Mvc.Control) | |
RenderAttributes | Renders the html attributes of control. (Inherited from C1.Web.Mvc.Control) | |
RenderBeginTag | Renders begin tag of control. (Inherited from C1.Web.Mvc.Control) | |
RenderContent | (Inherited from C1.Web.Mvc.Control) | |
RenderEndTag | Renders end tag of control. (Inherited from C1.Web.Mvc.Control) | |
RenderMarkup | (Inherited from C1.Web.Mvc.Control) |