New to Telerik UI for BlazorStart a free 30-day trial

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

Definition

Namespace:Telerik.Blazor.Components

Assembly:Telerik.Blazor.dll

Syntax:

C#
public class TreeViewExpandEventArgs : TreeViewEventArgsBase

Inheritance: objectTreeViewEventArgsBaseTreeViewExpandEventArgs

Inherited Members TreeViewEventArgsBase.Item

Constructors

C#
public TreeViewExpandEventArgs(object item, bool expanded)
Parameters:itemobjectexpandedbool

Properties

Defines the expanded state value of the Item.

C#
public bool Expanded { get; protected set; }

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.

C#
public bool ShouldRender { get; set; }