TreeViewNodeEventArgs.NodeInfo Property
In This Article
Returns information about a node related to the event.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v24.2.dll
NuGet Package: DevExpress.Blazor
#Declaration
C#
public ITreeViewNodeInfo NodeInfo { get; }
#Property Value
Type | Description |
---|---|
ITree |
An object that implements the ITree |
#Remarks
Razor
<DxTreeView AllowSelectNodes="true"
SelectionChanged="@SelectionChanged">
@* ... *@
</DxTreeView>
@code {
string SelectedGroup = "none";
void SelectionChanged(TreeViewNodeEventArgs e) {
SelectedGroup = e.NodeInfo.Text;
InvokeAsync(StateHasChanged);
}
}
#Online Demo
See Also