TreeViewBuilder Methods
A TreeView control.Name | Description |
---|---|
AccessKey(JS) | Mirrors the client-side accessKey option. |
AccessKey(String) | Mirrors the client-side accessKey option. |
ActiveStateEnabled(JS) | Mirrors the client-side activeStateEnabled option. |
ActiveStateEnabled(Boolean) | Mirrors the client-side activeStateEnabled option. |
AnimationEnabled(JS) | Mirrors the client-side animationEnabled option. |
AnimationEnabled(Boolean) | Mirrors the client-side animationEnabled option. |
CreateChildren(RazorBlock) | Mirrors the client-side createChildren option. |
CreateChildren(String) | Mirrors the client-side createChildren option. |
DataSource(JS) | Mirrors the client-side dataSource option. |
DataSource(IEnumerable, String[]) |
Binds a TreeView control to a collection: Array , List , or IEnumerable .
|
DataSource(Func<DataSourceFactory, OptionsOwnerBuilder>) | Binds a TreeView control to data, allows you to configure data access from different sources: API controllers, Razor page handlers, OData services, arrays, and more. |
DataSource(String, String[]) | Binds a TreeView control to read-only data in JSON format. |
DataSourceOptions(Action<DataSourceOptionsBuilder>) | Provides access to methods that mirror client-side data source options. |
DataStructure(TreeViewDataStructure) | Mirrors the client-side dataStructure option. |
Disabled(JS) | Mirrors the client-side disabled option. |
Disabled(Boolean) | Mirrors the client-side disabled option. |
DisabledExpr(JS) | Mirrors the client-side disabledExpr option. |
DisabledExpr(String) | Mirrors the client-side disabledExpr option. |
DisplayExpr(JS) | Mirrors the client-side displayExpr option. |
DisplayExpr(String) | Mirrors the client-side displayExpr option. |
ElementAttr(JS) | Mirrors the client-side elementAttr option, specifies attributes for the control’s root HTML element. |
ElementAttr(Dictionary<String, Object>) | Mirrors the client-side elementAttr option, specifies attributes for the control’s root HTML element. |
ElementAttr(Object) | Mirrors the client-side elementAttr option, specifies attributes for the control’s root HTML element. |
ElementAttr(String, Object) | Mirrors the client-side elementAttr option, specifies attributes for the control’s root HTML element. |
Equals(Object, Object) static | Determines whether the specified object instances are considered equal. Inherited from Object. |
Equals(Object) | Determines whether the specified object is equal to the current object. Inherited from Object. |
ExpandAllEnabled(JS) | Mirrors the client-side expandAllEnabled option. |
ExpandAllEnabled(Boolean) | Mirrors the client-side expandAllEnabled option. |
ExpandedExpr(JS) | Mirrors the client-side expandedExpr option. |
ExpandedExpr(String) | Mirrors the client-side expandedExpr option. |
ExpandEvent(TreeViewExpandEvent) | Mirrors the client-side expandEvent option. |
ExpandNodesRecursive(JS) | Mirrors the client-side expandNodesRecursive option. |
ExpandNodesRecursive(Boolean) | Mirrors the client-side expandNodesRecursive option. |
FocusStateEnabled(JS) | Mirrors the client-side focusStateEnabled option. |
FocusStateEnabled(Boolean) | Mirrors the client-side focusStateEnabled option. |
GetHashCode() | Serves as the default hash function. Inherited from Object. |
GetType() | Gets the Type of the current instance. Inherited from Object. |
HasItemsExpr(JS) | Mirrors the client-side hasItemsExpr option. |
HasItemsExpr(String) | Mirrors the client-side hasItemsExpr option. |
Height(JS) | Mirrors the client-side height option. |
Height(Double) | Mirrors the client-side height option. |
Height(String) | Mirrors the client-side height option. |
Hint(JS) | Mirrors the client-side hint option. |
Hint(String) | Mirrors the client-side hint option. |
HoverStateEnabled(JS) | Mirrors the client-side hoverStateEnabled option. |
HoverStateEnabled(Boolean) | Mirrors the client-side hoverStateEnabled option. |
ID(JS) |
Specifies the id attribute for the control’s HTML element (used for nested controls within templates).
|
ID(String) |
Specifies the id attribute for the control’s HTML element.
|
ItemHoldTimeout(JS) | Mirrors the client-side itemHoldTimeout option. |
ItemHoldTimeout(Double) | Mirrors the client-side itemHoldTimeout option. |
Items(Action<CollectionFactory<TreeViewItemBuilder>>) | Provides access to the client-side items option that represents a TreeView item collection. |
ItemsExpr(JS) | Mirrors the client-side itemsExpr option. |
ItemsExpr(String) | Mirrors the client-side itemsExpr option. |
ItemTemplate(JS) | Specifies the client-side itemTemplate. |
ItemTemplate(RazorBlock) | Specifies the client-side itemTemplate. |
ItemTemplate(TemplateName) | Specifies the client-side itemTemplate. |
ItemTemplate(String) | Specifies the client-side itemTemplate. |
KeyExpr(JS) | Mirrors the client-side keyExpr option. |
KeyExpr(String) | Mirrors the client-side keyExpr option. |
MemberwiseClone() protected | Creates a shallow copy of the current Object. Inherited from Object. |
NoDataText(JS) | Mirrors the client-side noDataText option. |
NoDataText(String) | Mirrors the client-side noDataText option. |
OnContentReady(RazorBlock) | Mirrors the client-side onContentReady option. |
OnContentReady(String) | Mirrors the client-side onContentReady option. |
OnDisposing(RazorBlock) | Mirrors the client-side onDisposing option. |
OnDisposing(String) | Mirrors the client-side onDisposing option. |
OnInitialized(RazorBlock) | Mirrors the client-side onInitialized option. |
OnInitialized(String) | Mirrors the client-side onInitialized option. |
OnItemClick(RazorBlock) | Mirrors the client-side onItemClick option. |
OnItemClick(String) | Mirrors the client-side onItemClick option. |
OnItemCollapsed(RazorBlock) | Mirrors the client-side onItemCollapsed option. |
OnItemCollapsed(String) | Mirrors the client-side onItemCollapsed option. |
OnItemContextMenu(RazorBlock) | Mirrors the client-side onItemContextMenu option. |
OnItemContextMenu(String) | Mirrors the client-side onItemContextMenu option. |
OnItemExpanded(RazorBlock) | Mirrors the client-side onItemExpanded option. |
OnItemExpanded(String) | Mirrors the client-side onItemExpanded option. |
OnItemHold(RazorBlock) | Mirrors the client-side onItemHold option. |
OnItemHold(String) | Mirrors the client-side onItemHold option. |
OnItemRendered(RazorBlock) | Mirrors the client-side onItemRendered option. |
OnItemRendered(String) | Mirrors the client-side onItemRendered option. |
OnItemSelectionChanged(RazorBlock) | Mirrors the client-side onItemSelectionChanged option. |
OnItemSelectionChanged(String) | Mirrors the client-side onItemSelectionChanged option. |
OnOptionChanged(RazorBlock) | Mirrors the client-side onOptionChanged option. |
OnOptionChanged(String) | Mirrors the client-side onOptionChanged option. |
OnSelectAllValueChanged(RazorBlock) | Mirrors the client-side onSelectAllValueChanged option. |
OnSelectAllValueChanged(String) | Mirrors the client-side onSelectAllValueChanged option. |
OnSelectionChanged(RazorBlock) | Mirrors the client-side onSelectionChanged option. |
OnSelectionChanged(String) | Mirrors the client-side onSelectionChanged option. |
Option(String, Object) | Specifies an option by its name. |
ParentIdExpr(JS) | Mirrors the client-side parentIdExpr option. |
ParentIdExpr(String) | Mirrors the client-side parentIdExpr option. |
ReferenceEquals(Object, Object) static | Determines whether the specified Object instances are the same instance. Inherited from Object. |
Render() | Inherited from WidgetBuilder. |
RootValue(Object) | Mirrors the client-side rootValue option. |
RtlEnabled(JS) | Mirrors the client-side rtlEnabled option. |
RtlEnabled(Boolean) | Mirrors the client-side rtlEnabled option. |
ScrollDirection(ScrollDirection) | Mirrors the client-side scrollDirection option. |
SearchEditorOptions(Action<TextBoxBuilder>) | Mirrors the client-side searchEditorOptions object. |
SearchEnabled(JS) | Mirrors the client-side searchEnabled option. |
SearchEnabled(Boolean) | Mirrors the client-side searchEnabled option. |
SearchExpr(JS) | Mirrors the client-side searchExpr option. |
SearchExpr(IEnumerable<String>) | Mirrors the client-side searchExpr option. |
SearchExpr(String[]) | Mirrors the client-side searchExpr option. |
SearchMode(CollectionSearchMode) | Mirrors the client-side searchMode option. |
SearchTimeout(JS) | Mirrors the client-side searchTimeout option. |
SearchTimeout(Double) | Mirrors the client-side searchTimeout option. |
SearchValue(JS) | Mirrors the client-side searchValue option. |
SearchValue(String) | Mirrors the client-side searchValue option. |
SelectAllText(JS) | Mirrors the client-side selectAllText option. |
SelectAllText(String) | Mirrors the client-side selectAllText option. |
SelectByClick(JS) | Mirrors the client-side selectByClick option. |
SelectByClick(Boolean) | Mirrors the client-side selectByClick option. |
SelectedExpr(JS) | Mirrors the client-side selectedExpr option. |
SelectedExpr(String) | Mirrors the client-side selectedExpr option. |
SelectionMode(NavSelectionMode) | Mirrors the client-side selectionMode option. |
SelectNodesRecursive(JS) | Mirrors the client-side selectNodesRecursive option. |
SelectNodesRecursive(Boolean) | Mirrors the client-side selectNodesRecursive option. |
ShowCheckBoxesMode(TreeViewCheckBoxMode) | Mirrors the client-side showCheckBoxesMode option. |
TabIndex(JS) | Mirrors the client-side tabIndex option. |
TabIndex(Int32) | Mirrors the client-side tabIndex option. |
ToString() | Inherited from WidgetBuilder. |
ToTemplate() | Renders the control as a template string for use in another control’s template. Inherited from WidgetBuilder. |
UseNativeScrolling(JS) | |
UseNativeScrolling(Boolean) | |
VirtualModeEnabled(JS) | Mirrors the client-side virtualModeEnabled option. |
VirtualModeEnabled(Boolean) | Mirrors the client-side virtualModeEnabled option. |
Visible(JS) | Mirrors the client-side visible option. |
Visible(Boolean) | Mirrors the client-side visible option. |
Width(JS) | Mirrors the client-side width option. |
Width(Double) | Mirrors the client-side width option. |
Width(String) | Mirrors the client-side width option. |
See Also