menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class NodeData - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class NodeData

    Specifies class that holds the node details.

    Inheritance
    System.Object
    NodeData
    Namespace: Syncfusion.Blazor.Navigations
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class NodeData : Object

    Constructors

    NodeData()

    Declaration
    public NodeData()

    Properties

    Expanded

    Gets or sets the mapping field for expand state of the TreeView node.

    Declaration
    public bool Expanded { get; set; }
    Property Value
    Type
    System.Boolean

    HasChildren

    Gets the hasChildren value to check whether a node has child nodes or not.

    Declaration
    public bool HasChildren { get; }
    Property Value
    Type
    System.Boolean

    Id

    Gets or sets the ID field mapped in the dataSource.

    Declaration
    public string Id { get; set; }
    Property Value
    Type
    System.String

    IsChecked

    Gets or sets the checked state of the TreeView node.

    Declaration
    public string IsChecked { get; set; }
    Property Value
    Type
    System.String

    ParentID

    Gets or sets the parent ID field mapped in dataSource.

    Declaration
    public string ParentID { get; set; }
    Property Value
    Type
    System.String

    Selected

    Gets or sets the selected state of the TreeView node.

    Declaration
    public bool Selected { get; set; }
    Property Value
    Type
    System.Boolean

    Text

    Gets or sets the text displayed as TreeView node's text.

    Declaration
    public string Text { get; set; }
    Property Value
    Type
    System.String
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved