Class
TreeViewExpandEventArgs

The class that describes the event arguments of the OnItemChange event of the TreeView.

Definition

Namespace:Telerik.Blazor.Components

Assembly:Telerik.Blazor.dll

Syntax:

cs-api-definition
public class TreeViewExpandEventArgs : TreeViewEventArgsBase

Inheritance: objectTreeViewEventArgsBaseTreeViewExpandEventArgs

Inherited Members TreeViewEventArgsBase.Item

Constructors

TreeViewExpandEventArgs(object, bool)

Declaration

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

Parameters

item

object

expanded

bool

Properties

Expanded

Defines the expanded state value of the Item.

Declaration

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

Property Value

bool

ShouldRender

Defines whether the component should re-render. Use this option when you want to re-render the whole treeview. By default, the expand operation renders only the respective node.

Declaration

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

Property Value

bool