ClassTelerikTreeView
The class for the Telerik TreeView component.
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
public class TelerikTreeView : DataBoundComponent<object>, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseBaseComponentDataBoundComponent<object>TelerikTreeView
Implements:
Inherited Members
Properties
AriaLabel
Describe the aria-label attribute for the component.
Declaration
[Parameter]
public string AriaLabel { get; set; }
Property Value
AriaLabelledBy
Describe the aria-labelledby attribute for the component.
Declaration
[Parameter]
public string AriaLabelledBy { get; set; }
Property Value
CheckBoxMode
Defines if users can check one or multiple TreeView item checkboxes. Supports Multiple, Single and None checkbox selection modes.
Declaration
[Parameter]
public TreeViewCheckBoxMode CheckBoxMode { get; set; }
Property Value
CheckChildren
Defines if child items' checkboxes will get checked when the user selects the parent checkbox. Applicable for Multiple TreeViewCheckMode.
Declaration
[Parameter]
public bool CheckChildren { get; set; }
Property Value
CheckOnClick
Defines if the click on the TreeView item should trigger checkbox selection.
Declaration
[Parameter]
public bool CheckOnClick { get; set; }
Property Value
CheckParents
Defines if the parent checkbox state will change when the user toggles child checkboxes. Applicable for Multiple TreeViewCheckMode.
Declaration
[Parameter]
public bool CheckParents { get; set; }
Property Value
CheckedItems
Defines collection of Checked Items in the TreeView.
Declaration
[Parameter]
public IEnumerable<object> CheckedItems { get; set; }
Property Value
CheckedItemsChanged
Fires when CheckedItems collection has changed.
Declaration
[Parameter]
public EventCallback<IEnumerable<object>> CheckedItemsChanged { get; set; }
Property Value
DragThrottleInterval
Specifies the time interval (in milliseconds) between the firings of the OnDrag event handler during the dragging operation. The default interval is 0ms.
Declaration
[Parameter]
public int DragThrottleInterval { get; set; }
Property Value
Draggable
Defines if users can drag TreeView items.
ExpandedItems
Defines collection of Expanded Items in the TreeView.
Declaration
[Parameter]
public IEnumerable<object> ExpandedItems { get; set; }
Property Value
ExpandedItemsChanged
Triggers when ExpandedItems has changed.
Declaration
[Parameter]
public EventCallback<IEnumerable<object>> ExpandedItemsChanged { get; set; }
Property Value
Id
Defines the id
HTML attribute of the Component.
OnDrag
Fired when a tree item is being dragged.
Declaration
[Parameter]
public EventCallback<TreeViewDragEventArgs> OnDrag { get; set; }
Property Value
OnDragEnd
Fired when a drag operation is being ended.
Declaration
[Parameter]
public EventCallback<TreeViewDragEndEventArgs> OnDragEnd { get; set; }
Property Value
OnDragStart
Fired when a tree item is being dragged.
Declaration
[Parameter]
public EventCallback<TreeViewDragStartEventArgs> OnDragStart { get; set; }
Property Value
OnDrop
Fired when a tree item is dropped. All data manipulations should be made here.
Declaration
[Parameter]
public EventCallback<TreeViewDropEventArgs> OnDrop { get; set; }
Property Value
OnExpand
Fires when the user expands or collapses a node.
Declaration
[Parameter]
public EventCallback<TreeViewExpandEventArgs> OnExpand { get; set; }
Property Value
OnItemClick
Fires when the user clicks, taps or presses Enter on a TreeView node (item).
Declaration
[Parameter]
public EventCallback<TreeViewItemClickEventArgs> OnItemClick { get; set; }
Property Value
OnItemContextMenu
Fires when the user right-clicks on a TreeView node or taps-and-holds on a touch device.
Declaration
[Parameter]
public EventCallback<TreeViewItemContextMenuEventArgs> OnItemContextMenu { get; set; }
Property Value
OnItemDoubleClick
Fires when the user double-clicks or double-taps a TreeView node.
Declaration
[Parameter]
public EventCallback<TreeViewItemDoubleClickEventArgs> OnItemDoubleClick { get; set; }
Property Value
OnItemRender
Fired when a tree item is being rendered.
Declaration
[Parameter]
public Action<TreeViewItemRenderEventArgs> OnItemRender { get; set; }
Property Value
SelectedItems
Defines collection of Selected Items in the TreeView.
Declaration
[Parameter]
public IEnumerable<object> SelectedItems { get; set; }
Property Value
SelectedItemsChanged
Fires when SelectedItems collection has changed.
Declaration
[Parameter]
public EventCallback<IEnumerable<object>> SelectedItemsChanged { get; set; }
Property Value
SelectionMode
Defines if users can select one or multiple items. Supports Multiple, Single and None selection modes.
Declaration
[Parameter]
public TreeViewSelectionMode SelectionMode { get; set; }
Property Value
TreeViewBindings
The TreeView items have features that map to properties in the model. The container enables you to create TreeViewBinding tags and configure the mappings between the features of the TreeView and the properties in the model. See TreeView Bingings.
Declaration
[Parameter]
public RenderFragment TreeViewBindings { get; set; }
Property Value
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builder
Overrides
SetParametersAsync(ParameterView)
Declaration
public override Task SetParametersAsync(ParameterView parameters)
Parameters
parameters
Returns
Overrides