Class GridTreeCreatingNodeEventArgs
The class that defines the arguments for the GridTreeCreatingNode event.
Inheritance
System.Object
GridTreeCreatingNodeEventArgs
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 |