menu

WPF

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

    Show / Hide Table of Contents

    Class GridTreeCreatingNodeEventArgs

    The class that defines the arguments for the GridTreeCreatingNode event.

    Inheritance
    System.Object
    System.EventArgs
    GridTreeCreatingNodeEventArgs
    Inherited Members
    System.EventArgs.Empty
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.Windows.Controls.Grid
    Assembly: Syncfusion.Grid.Wpf.dll
    Syntax
    public class GridTreeCreatingNodeEventArgs : EventArgs

    Constructors

    GridTreeCreatingNodeEventArgs(Int32, Object, Boolean, GridTreeNode)

    Constructor.

    Declaration
    public GridTreeCreatingNodeEventArgs(int level, object item, bool expanded, GridTreeNode parentNode)
    Parameters
    Type Name Description
    System.Int32 level

    The indent level for the new node.

    System.Object item

    The underlying item that defines this new node.

    System.Boolean expanded

    The initial expand state for this new node.

    GridTreeNode parentNode

    The parent GridTreeNode for this new node.

    Properties

    Expanded

    Gets the expand state of the new node.

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

    Item

    Gets the item whose node is being created.

    Declaration
    public object Item { get; }
    Property Value
    Type
    System.Object

    Level

    Gets the node level of the new node.

    Declaration
    public int Level { get; }
    Property Value
    Type
    System.Int32

    Node

    Gets or sets the new GridTreeNode. Set this value to your derived GridTreeNode object.

    Declaration
    public GridTreeNode Node { get; set; }
    Property Value
    Type
    GridTreeNode

    ParentNode

    Gets the parent GridTreeNode for the new node.

    Declaration
    public GridTreeNode ParentNode { get; }
    Property Value
    Type
    GridTreeNode
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved