[]
Represents a control that displays hierarchical data in a tree structure that has items that can expand and collapse.
public class C1TreeView : C1View, IComponent, IHandleAfterRender, IHandleEvent, IDisposable, IDependencyObject
Name | Description |
---|---|
C1TreeView() | Initializes a new instance of the C1TreeView class. |
Name | Description |
---|---|
AllowDragDrop | Gets or sets a value indicating whether this C1TreeView allows drag-and-drop operations. |
ChildContent | ChildContent RenderFragment. |
ChildItemsPaths | |
CollapseOnClick | Gets or sets a value indicating whether the node is collapsed when the users clicks in the C1TreeViewItem header. |
CollapsedIconTemplate | Content template for tree item collapsed icon. |
Converter | Converter for the Header property. |
DisplayMemberPaths | Gets or sets a path to a value on the source object to serve as the visual representation of the object. |
DragSourceStyle | Gets of sets the style of the drag source item. |
DragTargetStyle | Gets of sets the style of the drag target item. |
ExpandMode | Gets or sets a value indicating the allowed number of expanded C1TreeViewItems. |
ExpandOnClick | Gets or sets a value indicating whether the node is expanded when the users clicks in the C1TreeViewItem header. |
ExpandedIconStyle | Gets or sets the style applied to the expanded/collapsed icon. |
ExpandedIconTemplate | Content template for tree item expanded icon. |
HorizontalScrollBarVisibility | |
IsExpandedPath | |
IsRTL | Gets or sets the style of the selected items. |
IsSelectedPath | |
ItemStyle | Gets or sets the style of the items. |
ItemTemplate | |
Items | Gets the collection of tree-view items. Every tree-view items contains the sub-items. |
ItemsSource | Gets or sets tree-view data source. |
KeyboardNavigation | Enables or disables the Keyboard navigation functionality of the C1TreeView. |
MouseOverBrush | Gets or sets the C1Color used to highlight the control when it has the mouse over. |
OnDragOver | This Callback will gets and sets by Blazor framework automatically for binding feature. |
OnDragStart | This Callback will gets and sets by Blazor framework automatically for binding feature. |
OnDrop | This Callback will gets and sets by Blazor framework automatically for binding feature. |
OnEnter | This Callback will gets and sets by Blazor framework automatically for binding feature. |
OnEscape | This Callback will gets and sets by Blazor framework automatically for binding feature. |
OnItemClick | Occurs when a TreeViewItem is clicked. |
OnItemSelected | Occurs when the selection state of a TreeViewItem changes. |
SelectedBackground | Gets or sets the C1Color used to highlight the control when it is selected. |
SelectedItemStyle | Gets or sets the style of the selected items. |
SelectionMode | Gets or sets the selection behavior for a C1TreeView. |
SelectionModeChanged | Gets or sets the callback called when the SelectionMode property has changed. |
ShowCheckboxes | Gets or sets the treeview item has show checkbox or not. |
ShowLines | Gets or sets a value that indicates whether the connecting lines are visible. |
VerticalScrollBarVisibility | |
WholeWidthSelection | Gets or sets whether the selection item should take the whole width of the control or not. |
Name | Description |
---|---|
BuildRenderTree(RenderTreeBuilder) | Renders the component to the supplied RenderTreeBuilder. |
Dispose(bool) | |
Expand(TreeViewItem, bool) | Set expanded item |
FocusAsync() | Sets the focus in the control. |
GetAllItems() | Get all items |
GetSelectedItems() | Get selected items |
InitializeAsync() | This method is called when the component is initialized. |
OnAfterRender(bool) | |
OnAfterRenderAsync(bool) | |
Refresh() | Refresh component. |