TreeViewNodeClickEventArgs Class
Contains data for the DxTreeView.NodeClick and DxTreeViewNode.Click events.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v24.2.dll
NuGet Package: DevExpress.Blazor
Declaration
public class TreeViewNodeClickEventArgs :
EventArgs
Remarks
The following code snippet gets the NodeInfo property value:
<DxTreeView>
<Nodes>
<DxTreeViewNode Click=@OnClick Text="Form Layout" />
<DxTreeViewNode Text="TreeView" />
<DxTreeViewNode Text="Tabs" />
</Nodes>
</DxTreeView>
@Message
@code {
string Message { get; set; }
void OnClick(TreeViewNodeClickEventArgs args) {
var Node = args.NodeInfo;
Message = Node.Text + " was clicked.";
}
}
See Also