Skip to main content
All docs
V25.1
  • DevExpress v25.1 Update — Your Feedback Matters

    Our What's New in v25.1 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

    Take the survey Not interested

    TreeViewNodeClickEventArgs Class

    Contains data for the DxTreeView.NodeClick and DxTreeViewNode.Click events.

    Namespace: DevExpress.Blazor

    Assembly: DevExpress.Blazor.v25.1.dll

    NuGet Package: DevExpress.Blazor

    #Declaration

    C#
    public class TreeViewNodeClickEventArgs :
        EventArgs

    #Remarks

    The following code snippet gets the NodeInfo property value:

    Razor
    <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.";
        }
    }
    

    #Inheritance

    Object
    EventArgs
    TreeViewNodeClickEventArgs
    See Also