[]
Defines a builder to configurate TreeView.
public class TreeViewBuilder : ControlBuilder<TreeView, TreeViewBuilder>, IHtmlString
Name | Description |
---|---|
TreeViewBuilder(TreeView) | Creates one TreeViewBuilder instance to configurate |
Name | Description |
---|---|
AllowDragging(bool) | Configurates AllowDragging. Sets a value that determines whether users can drag and drop nodes within the TreeView control. |
AutoCollapse(bool) | Configurates AutoCollapse. Sets a value that determines if sibling nodes should be collapsed when a node is expanded. |
Bind(IEnumerable<object>, string) | Loads the nodes from the specified data. |
Bind(string, string) | Loads the nodes from the specified url. |
CheckOnClick(bool) | Configurates CheckOnClick. Sets a value that determines whether to toggle checkboxes when the user clicks the node header. |
CheckedMemberPath(params string[]) | |
ChildItemsPath(params string[]) | Sets the ChildItemsPath property. |
CollapseOnClick(bool) | Configurates CollapseOnClick. Sets a value that determines whether to collapse expanded nodes when the user clicks the node header. |
CollapseWhenDisabled(bool) | Configurates CollapseWhenDisabled. Sets a value that determines whether nodes should be collapsed when they are disabled. |
DisplayMemberPath(params string[]) | Sets the DisplayMemberPath property. |
ExpandOnClick(bool) | Configurates ExpandOnClick. Sets a value that determines whether to expand collapsed nodes when the user clicks the node header. |
ExpandOnLoad(bool) | Configurates ExpandOnLoad. Sets a value that determines whether to toggle checkboxes when the user clicks the node header. |
ImageMemberPath(params string[]) | Sets the ImageMemberPath property. |
IsAnimated(bool) | Configurates IsAnimated. Sets a value that indicates whether to use animations when expanding or collapsing nodes. |
IsContentHtml(bool) | Configurates IsContentHtml. Sets a value indicating whether items are bound to plain text or HTML. |
IsReadOnly(bool) | Configurates 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. |
LazyLoadFunction(string) | Configurates LazyLoadFunction. Sets a client function that loads child nodes on demand. |
OnClientCheckedItemsChanged(string) | Configurates the OnClientCheckedItemsChanged client event. Occurs when the checked items are changed. |
OnClientDragEnd(string) | Configurates the 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. |
OnClientDragOver(string) | Configurates the OnClientDragOver client event. Occurs while the user drags a node over other nodes on the TreeView. |
OnClientDragStart(string) | Configurates the OnClientDragStart client event. Occurs when the user starts dragging a node. This event only occurs if the AllowDrag property is set to true. |
OnClientDrop(string) | Configurates the OnClientDrop client event. Occurs when the user drops a on the TreeView. |
OnClientFormatItem(string) | Configurates the OnClientFormatItem client event. Occurs when an element representing a node has been created. |
OnClientIsCheckedChanged(string) | Configurates the OnClientIsCheckedChanged client event. Occurs after the check status of a node is changed. |
OnClientIsCheckedChanging(string) | Configurates the OnClientIsCheckedChanging client event. Occurs before the check status of a node is changed. |
OnClientIsCollapsedChanged(string) | Configurates the OnClientIsCollapsedChanged client event. Occurs after a node is collapsed or expanded. |
OnClientIsCollapsedChanging(string) | Configurates the OnClientIsCollapsedChanging client event. Occurs before a node is collapsed or expanded. |
OnClientItemClicked(string) | Configurates the OnClientItemClicked client event. Occurs when the user clicks an item or presses the Enter key and an item is selected. |
OnClientItemsSourceChanged(string) | Configurates the OnClientItemsSourceChanged client event. Occurs when the value of the ItemsSource property changes. |
OnClientLoadedItems(string) | Configurates the OnClientLoadedItems client event. Occurs after the tree items have been generated. |
OnClientLoadingItems(string) | Configurates the OnClientLoadingItems client event. Occurs before the tree items are generated. |
OnClientNodeEditEnded(string) | Configurates the OnClientNodeEditEnded client event. Occurs after a node has exited edit mode. |
OnClientNodeEditEnding(string) | Configurates the OnClientNodeEditEnding client event. Occurs before a node exits edit mode. |
OnClientNodeEditStarted(string) | Configurates the OnClientNodeEditStarted client event. Occurs after a node has entered edit mode. |
OnClientNodeEditStarting(string) | Configurates the OnClientNodeEditStarting client event. Occurs before a node enters edit mode. |
OnClientReponseTextParsing(string) | Configurates the OnClientReponseTextParsing client event. Occurs when parsing the response text. |
OnClientRequestDataStringifying(string) | Configurates the OnClientRequestDataStringifying client event. Occurs when serializing the request data. |
OnClientSelectedItemChanged(string) | Configurates the OnClientSelectedItemChanged client event. Occurs when the selected item is changes. |
ShowCheckboxes(bool) | Configurates ShowCheckboxes. 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). |