Show / Hide Table of Contents

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
BaseRendererControl
IgbTree
Implements
JsonSerializable
System.IDisposable
Inherited Members
BaseRendererControl._cachedSerializedContent
BaseRendererControl.ToSpinal(String)
BaseRendererControl.TransformSimpleKey(String)
BaseRendererControl.IsTransformedEnumValue(String)
BaseRendererControl.TransformPotentialEnumValue(String, Object)
BaseRendererControl.BuildSequenceInfo(Int32)
BaseRendererControl.BuildRenderTree(RenderTreeBuilder)
BaseRendererControl.TemplateContentType(String)
BaseRendererControl.OnAfterRenderAsync(Boolean)
BaseRendererControl.EnsureReady()
BaseRendererControl.MarkPropDirty(String)
BaseRendererControl.IsPropDirty(String)
BaseRendererControl.Serialize(SerializationContext, String)
BaseRendererControl.Serialize()
BaseRendererControl.InvokeMethod(String, Object[], String[], ElementReference[])
BaseRendererControl.InvokeMethodSync(String, Object[], String[], ElementReference[])
BaseRendererControl.SuspendNotifications(Object)
BaseRendererControl.ResumeNotifications(Object, Boolean)
BaseRendererControl.NotifyInsertItem(Object, Int32, Object)
BaseRendererControl.NotifyRemoveItem(Object, Int32, Object)
BaseRendererControl.NotifyClearItems(Object)
BaseRendererControl.NotifySetItem(Object, Int32, Object, Object)
BaseRendererControl.NotifyUpdateItem(Object, Int32, Object, Boolean)
BaseRendererControl.OnRefChanged(String, Object)
BaseRendererControl.OnInvokeReturn(Int64, Object)
BaseRendererControl.Camelize(String)
BaseRendererControl.ToPascal(String)
BaseRendererControl.OnElementNameChanged(BaseRendererElement, String, String)
BaseRendererControl.Dispose(Boolean)
BaseRendererControl.SetResourceStringAsync(String, String, String)
BaseRendererControl.SetResourceStringAsync(String, String)
BaseRendererControl.SetPropertyValue(Object, PropertyInfo, JsonElement)
BaseRendererControl.SetPropertyValue(Object, PropertyInfo, Object)
BaseRendererControl.Finalize()
BaseRendererControl.Dispose()
BaseRendererControl.IgBlazor
BaseRendererControl.Height
BaseRendererControl.Width
BaseRendererControl.Class
BaseRendererControl.AdditionalAttributes
BaseRendererControl.ChildContent
BaseRendererControl.RoundTripDateConversion
BaseRendererControl.NeedsDynamicContent
BaseRendererControl.UseCamelEnumValues
Namespace: IgniteUI.Blazor.Controls
Assembly: IgniteUI.Blazor.dll
Syntax
public class IgbTree : BaseRendererControl, RefSink, JsonSerializable, IDisposable

Constructors

IgbTree()

Declaration
public IgbTree()

Properties

ActiveItem

Declaration
public EventCallback<IgbTreeItemComponentEventArgs> ActiveItem { get; set; }
Property Value
Type Description
Microsoft.AspNetCore.Components.EventCallback<IgbTreeItemComponentEventArgs>

ActiveItemScript

Declaration
public string ActiveItemScript { get; set; }
Property Value
Type Description
System.String

ContentItems

Declaration
public IgbTreeItemCollection ContentItems { get; }
Property Value
Type Description
IgbTreeItemCollection

DirectRenderElementName

Declaration
protected override string DirectRenderElementName { get; }
Property Value
Type Description
System.String
Overrides
BaseRendererControl.DirectRenderElementName

ItemCollapsed

Declaration
public EventCallback<IgbTreeItemComponentEventArgs> ItemCollapsed { get; set; }
Property Value
Type Description
Microsoft.AspNetCore.Components.EventCallback<IgbTreeItemComponentEventArgs>

ItemCollapsedScript

Declaration
public string ItemCollapsedScript { get; set; }
Property Value
Type Description
System.String

ItemCollapsing

Declaration
public EventCallback<IgbTreeItemComponentEventArgs> ItemCollapsing { get; set; }
Property Value
Type Description
Microsoft.AspNetCore.Components.EventCallback<IgbTreeItemComponentEventArgs>

ItemCollapsingScript

Declaration
public string ItemCollapsingScript { get; set; }
Property Value
Type Description
System.String

ItemExpanded

Declaration
public EventCallback<IgbTreeItemComponentEventArgs> ItemExpanded { get; set; }
Property Value
Type Description
Microsoft.AspNetCore.Components.EventCallback<IgbTreeItemComponentEventArgs>

ItemExpandedScript

Declaration
public string ItemExpandedScript { get; set; }
Property Value
Type Description
System.String

ItemExpanding

Declaration
public EventCallback<IgbTreeItemComponentEventArgs> ItemExpanding { get; set; }
Property Value
Type Description
Microsoft.AspNetCore.Components.EventCallback<IgbTreeItemComponentEventArgs>

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
BaseRendererControl.ParentTypeName

Selection

The selection state of the tree.

Declaration
public TreeSelection Selection { get; set; }
Property Value
Type Description
TreeSelection

SelectionChanged

Declaration
public EventCallback<IgbTreeSelectionChangeEventArgs> SelectionChanged { get; set; }
Property Value
Type Description
Microsoft.AspNetCore.Components.EventCallback<IgbTreeSelectionChangeEventArgs>

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

SupportsVisualChildren

Declaration
protected override bool SupportsVisualChildren { get; }
Property Value
Type Description
System.Boolean
Overrides
BaseRendererControl.SupportsVisualChildren

ToggleNodeOnClick

Declaration
public bool ToggleNodeOnClick { get; set; }
Property Value
Type Description
System.Boolean

Type

Declaration
public override string Type { get; }
Property Value
Type Description
System.String
Overrides
BaseRendererControl.Type

UseDirectRender

Declaration
protected override bool UseDirectRender { get; }
Property Value
Type Description
System.Boolean
Overrides
BaseRendererControl.UseDirectRender

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
BaseRendererControl.EnsureModulesLoaded()

ExpandToItem(IgbTreeItem)

Declaration
public void ExpandToItem(IgbTreeItem item)
Parameters
Type Name Description
IgbTreeItem item

ExpandToItemAsync(IgbTreeItem)

@private

Declaration
public Task ExpandToItemAsync(IgbTreeItem item)
Parameters
Type Name Description
IgbTreeItem item
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
BaseRendererControl.FindByName(String)

ResolveDisplay()

Declaration
protected override string ResolveDisplay()
Returns
Type Description
System.String
Overrides
BaseRendererControl.ResolveDisplay()

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

JsonSerializable
System.IDisposable