Class
DropDownTreeExpandEventArgs

Event arguments for the OnExpand event. Provides information about the node being expanded or collapsed.

Definition

Namespace:Telerik.Blazor.Components

Assembly:Telerik.Blazor.dll

Syntax:

cs-api-definition
public class DropDownTreeExpandEventArgs : EventArgs

Inheritance: objectEventArgsDropDownTreeExpandEventArgs

Inherited Members EventArgs.Empty

Constructors

DropDownTreeExpandEventArgs(object, bool)

Declaration

cs-api-definition
public DropDownTreeExpandEventArgs(object item, bool expanded)

Parameters

item

object

expanded

bool

Properties

Expanded

Indicates whether the node is now expanded (true) or collapsed (false).

Declaration

cs-api-definition
public bool Expanded { get; }

Property Value

bool

Item

The data item of the node being expanded or collapsed. Use to load child items on demand or update application state.

Declaration

cs-api-definition
public object Item { get; }

Property Value

object

ShouldRender

Defines whether the component should re-render. Use this option when you want to re-render the tree after data changes.

Declaration

cs-api-definition
public bool ShouldRender { get; set; }

Property Value

bool