ComponentOne ASP.NET MVC Controls
TreeView Class Members
Properties  Methods 

C1.Web.Mvc Namespace : TreeView Class

The following tables list the members exposed by TreeView.

Public Constructors
 NameDescription
Public ConstructorCreates one TreeView instance.  
Top
Public Properties
 NameDescription
Public PropertyGets or sets a value that determines whether users can drag and drop nodes within the TreeView control.  
Public PropertyGets or sets a value that determines if sibling nodes should be collapsed when a node is expanded.  
Public PropertyGets or sets the name of the property (or properties) to bind to the node's checked state.  
Public PropertyGets or sets a value that determines whether to toggle checkboxes when the user clicks the node header.  
Public PropertyGets 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.  
Public PropertyGets the child components. (Inherited from C1.Web.Mvc.Component)
Public PropertyGets or sets the css class of the control. (Inherited from C1.Web.Mvc.Control)
Public PropertyGets the CSS style applied in the control. (Inherited from C1.Web.Mvc.Control)
Public PropertyGets 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.  
Public PropertyGets or sets a value that determines whether to expand collapsed nodes when the user clicks the node header.  
Public PropertyGets or sets a value that determines whether to toggle checkboxes when the user clicks the node header.  
Public PropertyGets or sets the height of the control. (Inherited from C1.Web.Mvc.Control)
Public PropertyGets the HTML attributes. (Inherited from C1.Web.Mvc.Control)
Public PropertyGets or sets the component id. (Inherited from C1.Web.Mvc.Component)
Public PropertyGets or sets the name of the property (or properties) to use as a source of images for the nodes.  
Public PropertyGets or sets a value that indicates whether to use animations when expanding or collapsing nodes.  
Public PropertyGets or sets a value indicating whether items are bound to plain text or HTML.  
Public PropertyGets or sets a value that determines whether the control is disabled. (Inherited from C1.Web.Mvc.Control)
Public PropertyGets 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.  
Public PropertyGets or sets a boolean value which indicates whether transfer this control to template mode. (Inherited from C1.Web.Mvc.Control)
Public PropertyGets or sets the url to get the lazy nodes in TreeView.  
Public PropertyGets or sets a client function that loads child nodes on demand.  
Public PropertyGets or sets the url to get the items in TreeView.  
Public PropertyOccurs when the checked items are changed.  
Public PropertyOccurs 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.  
Public PropertyOccurs while the user drags a node over other nodes on the TreeView.  
Public PropertyOccurs when the user starts dragging a node. This event only occurs if the AllowDrag property is set to true.  
Public PropertyOccurs when the user drops a on the TreeView.  
Public PropertyOccurs when an element representing a node has been created.  
Public PropertyOccurs when the control gets the focus. (Inherited from C1.Web.Mvc.Control)
Public PropertyOccurs after the check status of a node is changed.  
Public PropertyOccurs before the check status of a node is changed.  
Public PropertyOccurs after a node is collapsed or expanded.  
Public PropertyOccurs before a node is collapsed or expanded.  
Public PropertyOccurs when the user clicks an item or presses the Enter key and an item is selected.  
Public PropertyOccurs when the value of the ItemsSource property changes.  
Public PropertyOccurs after the tree items have been generated.  
Public PropertyOccurs before the tree items are generated.  
Public PropertyOccurs when the control loses the focus. (Inherited from C1.Web.Mvc.Control)
Public PropertyOccurs after a node has exited edit mode.  
Public PropertyOccurs before a node exits edit mode.  
Public PropertyOccurs after a node has entered edit mode.  
Public PropertyOccurs before a node enters edit mode.  
Public PropertyOccurs after the control has refreshed its contents. (Inherited from C1.Web.Mvc.Control)
Public PropertyOccurs when the control is about to refresh its contents. (Inherited from C1.Web.Mvc.Control)
Public PropertyOccurs when parsing the response text.  
Public PropertyOccurs when serializing the request data.  
Public PropertyOccurs when the selected item is changes.  
Public PropertyGets or sets the selector to macth the dom element(s) which the control is attached to. (Inherited from C1.Web.Mvc.Control)
Public PropertyGets 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).  
Public PropertyGets 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.  
Public PropertyGets the collection of the template bindings. (Inherited from C1.Web.Mvc.Control)
Public PropertyGets a value which represents the unique id for the control. (Inherited from C1.Web.Mvc.Control)
Public PropertyGets or sets the width of the control. (Inherited from C1.Web.Mvc.Control)
Top
Public Methods
 NameDescription
Public MethodRender the component result to the writer. (Inherited from C1.Web.Mvc.Control)
Public MethodReturns an HTML-encoded string. (Inherited from C1.Web.Mvc.Component)
Top
Extension Methods
 NameDescription
Public Extension MethodRender the html string in template mode.
Top
See Also

Reference

TreeView Class
C1.Web.Mvc Namespace