Skip to main content

TreeViewNodeEventArgs.NodeInfo Property

Returns information about a node related to the event.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

Declaration

public ITreeViewNodeInfo NodeInfo { get; }

Property Value

Type Description
ITreeViewNodeInfo

An object that implements the ITreeViewNodeInfo interface and stores information about a node related to the event.

Remarks

<DxTreeView AllowSelectNodes="true" 
            SelectionChanged="@SelectionChanged">
    @* ... *@
</DxTreeView>

@code  {
    string SelectedGroup = "none";

    void SelectionChanged(TreeViewNodeEventArgs e) {
        SelectedGroup = e.NodeInfo.Text;
        InvokeAsync(StateHasChanged);
    }
}      

TreeView Node Selection

Online Demo

TreeView - Selection

See Also