ComponentOne ASP.NET MVC Controls
TreeViewBuilder Class Members
Methods 

C1.Web.Mvc.Fluent Namespace : TreeViewBuilder Class

The following tables list the members exposed by TreeViewBuilder.

Public Constructors
 NameDescription
Public ConstructorCreates one TreeViewBuilder instance to configurate component.  
Top
Public Methods
 NameDescription
Public MethodConfigurates C1.Web.Mvc.TreeView.AllowDragging. Sets a value that determines whether users can drag and drop nodes within the C1.Web.Mvc.TreeView control.  
Public MethodConfigurates C1.Web.Mvc.TreeView.AutoCollapse. Sets a value that determines if sibling nodes should be collapsed when a node is expanded.  
Public MethodOverloaded. Loads the nodes from the specified data.  
Public Method  
Public MethodConfigurates C1.Web.Mvc.TreeView.CheckOnClick. Sets a value that determines whether to toggle checkboxes when the user clicks the node header.  
Public MethodSets the ChildItemsPath property.  
Public MethodSets the DisplayMemberPath property.  
Public MethodConfigurates C1.Web.Mvc.TreeView.ExpandOnClick. Sets a value that determines whether to expand collapsed nodes when the user clicks the node header.  
Public MethodConfigurates C1.Web.Mvc.TreeView.ExpandOnLoad. Sets a value that determines whether to toggle checkboxes when the user clicks the node header.  
Public MethodSets the ImageMemberPath property.  
Public MethodConfigurates C1.Web.Mvc.TreeView.IsAnimated. Sets a value that indicates whether to use animations when expanding or collapsing nodes.  
Public MethodConfigurates C1.Web.Mvc.TreeView.IsContentHtml. Sets a value indicating whether items are bound to plain text or HTML.  
Public MethodConfigurates C1.Web.Mvc.TreeView.IsReadOnly. 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 MethodConfigurates C1.Web.Mvc.TreeView.LazyLoadFunction. Sets a client function that loads child nodes on demand.  
Public MethodConfigurates the C1.Web.Mvc.TreeView.OnClientCheckedItemsChanged client event. Occurs when the checked items are changed.  
Public MethodConfigurates the C1.Web.Mvc.TreeView.OnClientDragEnd client event. 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.  
Public MethodConfigurates the C1.Web.Mvc.TreeView.OnClientDragOver client event. Occurs while the user drags a node over other nodes on the C1.Web.Mvc.TreeView.  
Public MethodConfigurates the C1.Web.Mvc.TreeView.OnClientDragStart client event. Occurs when the user starts dragging a node. This event only occurs if the AllowDrag property is set to true.  
Public MethodConfigurates the C1.Web.Mvc.TreeView.OnClientDrop client event. Occurs when the user drops a on the C1.Web.Mvc.TreeView.  
Public MethodConfigurates the C1.Web.Mvc.TreeView.OnClientFormatItem client event. Occurs when an element representing a node has been created.  
Public MethodConfigurates the C1.Web.Mvc.TreeView.OnClientIsCheckedChanged client event. Occurs after the check status of a node is changed.  
Public MethodConfigurates the C1.Web.Mvc.TreeView.OnClientIsCheckedChanging client event. Occurs before the check status of a node is changed.  
Public MethodConfigurates the C1.Web.Mvc.TreeView.OnClientIsCollapsedChanged client event. Occurs after a node is collapsed or expanded.  
Public MethodConfigurates the C1.Web.Mvc.TreeView.OnClientIsCollapsedChanging client event. Occurs before a node is collapsed or expanded.  
Public MethodConfigurates the C1.Web.Mvc.TreeView.OnClientItemClicked client event. Occurs when the user clicks an item or presses the Enter key and an item is selected.  
Public MethodConfigurates the C1.Web.Mvc.TreeView.OnClientItemsSourceChanged client event. Occurs when the value of the ItemsSource property changes.  
Public MethodConfigurates the C1.Web.Mvc.TreeView.OnClientLoadedItems client event. Occurs after the tree items have been generated.  
Public MethodConfigurates the C1.Web.Mvc.TreeView.OnClientLoadingItems client event. Occurs before the tree items are generated.  
Public MethodConfigurates the C1.Web.Mvc.TreeView.OnClientNodeEditEnded client event. Occurs after a node has exited edit mode.  
Public MethodConfigurates the C1.Web.Mvc.TreeView.OnClientNodeEditEnding client event. Occurs before a node exits edit mode.  
Public MethodConfigurates the C1.Web.Mvc.TreeView.OnClientNodeEditStarted client event. Occurs after a node has entered edit mode.  
Public MethodConfigurates the C1.Web.Mvc.TreeView.OnClientNodeEditStarting client event. Occurs before a node enters edit mode.  
Public MethodConfigurates the C1.Web.Mvc.TreeView.OnClientReponseTextParsing client event. Occurs when parsing the response text.  
Public MethodConfigurates the C1.Web.Mvc.TreeView.OnClientRequestDataStringifying client event. Occurs when serializing the request data.  
Public MethodConfigurates the C1.Web.Mvc.TreeView.OnClientSelectedItemChanged client event. Occurs when the selected item is changes.  
Public MethodConfigurates C1.Web.Mvc.TreeView.ShowCheckboxes. Sets a value that determines whether the C1.Web.Mvc.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).  
Top
Extension Methods
 NameDescription
Public Extension MethodRender the html string in template mode.
Top
See Also

Reference

TreeViewBuilder Class
C1.Web.Mvc.Fluent Namespace