Class IgbTree
The tree allows users to represent hierarchical data in a tree-view structure,
maintaining parent-child relationships, as well as to define static tree-view structure without a corresponding data model.
Inheritance
System.Object
IgbTree
Implements
System.IDisposable
Assembly: IgniteUI.Blazor.dll
Syntax
public class IgbTree : BaseRendererControl, JsonSerializable
Constructors
IgbTree()
Declaration
Properties
ActiveItem
Declaration
public EventCallback<IgbTreeItemComponentEventArgs> ActiveItem { get; set; }
Property Value
ActiveItemScript
Declaration
public string ActiveItemScript { get; set; }
Property Value
Type |
Description |
System.String |
|
ContentItems
Declaration
public IgbTreeItemCollection ContentItems { get; }
Property Value
Dir
The direction attribute of the control.
Declaration
public Direction Dir { get; set; }
Property Value
DirectRenderElementName
Declaration
protected override string DirectRenderElementName { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
ItemCollapsed
Declaration
public EventCallback<IgbTreeItemComponentEventArgs> ItemCollapsed { get; set; }
Property Value
ItemCollapsedScript
Declaration
public string ItemCollapsedScript { get; set; }
Property Value
Type |
Description |
System.String |
|
ItemCollapsing
Declaration
public EventCallback<IgbTreeItemComponentEventArgs> ItemCollapsing { get; set; }
Property Value
ItemCollapsingScript
Declaration
public string ItemCollapsingScript { get; set; }
Property Value
Type |
Description |
System.String |
|
ItemExpanded
Declaration
public EventCallback<IgbTreeItemComponentEventArgs> ItemExpanded { get; set; }
Property Value
ItemExpandedScript
Declaration
public string ItemExpandedScript { get; set; }
Property Value
Type |
Description |
System.String |
|
ItemExpanding
Declaration
public EventCallback<IgbTreeItemComponentEventArgs> ItemExpanding { get; set; }
Property Value
ItemExpandingScript
Declaration
public string ItemExpandingScript { get; set; }
Property Value
Type |
Description |
System.String |
|
ParentTypeName
Declaration
protected override string ParentTypeName { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
Selection
The selection state of the tree.
Declaration
public TreeSelection Selection { get; set; }
Property Value
SelectionChanged
Declaration
public EventCallback<IgbTreeSelectionOptionsEventArgs> SelectionChanged { get; set; }
Property Value
SelectionChangedScript
Declaration
public string SelectionChangedScript { get; set; }
Property Value
Type |
Description |
System.String |
|
SingleBranchExpand
Whether a single or multiple of a parent's child items can be expanded.
Declaration
public bool SingleBranchExpand { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Size
Declaration
public SizableComponentSize Size { get; set; }
Property Value
SupportsVisualChildren
Declaration
protected override bool SupportsVisualChildren { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
Type
Declaration
public override string Type { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
UseDirectRender
Declaration
protected override bool UseDirectRender { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
Methods
ConnectedCallback()
Declaration
public void ConnectedCallback()
ConnectedCallbackAsync()
Declaration
public Task ConnectedCallbackAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
EnsureModulesLoaded()
Declaration
protected override void EnsureModulesLoaded()
Overrides
ExpandToItem(IgbTreeItem)
Declaration
public void ExpandToItem(IgbTreeItem item)
Parameters
ExpandToItemAsync(IgbTreeItem)
Declaration
public Task ExpandToItemAsync(IgbTreeItem item)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
FindByName(String)
Declaration
public override object FindByName(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns
Type |
Description |
System.Object |
|
Overrides
ResolveDisplay()
Declaration
protected override string ResolveDisplay()
Returns
Type |
Description |
System.String |
|
Overrides
SetNativeElement(Object)
Declaration
public void SetNativeElement(object element)
Parameters
Type |
Name |
Description |
System.Object |
element |
|
SetNativeElementAsync(Object)
Declaration
public Task SetNativeElementAsync(object element)
Parameters
Type |
Name |
Description |
System.Object |
element |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Implements
System.IDisposable