Class TreeGridRequestTreeItemsEventArgs
Represents a class that provides event data for all SfTreeGrid related events.
Inherited Members
Namespace: Syncfusion.Maui.TreeGrid
Assembly: Syncfusion.Maui.TreeGrid.dll
Syntax
public class TreeGridRequestTreeItemsEventArgs : EventArgs
Constructors
TreeGridRequestTreeItemsEventArgs(TreeNode, object, bool, bool)
Initializes a new instance of TreeGridRequestTreeItemsEventArgs class.
Declaration
public TreeGridRequestTreeItemsEventArgs(TreeNode parentNode, object parentItem, bool resetChildAndRepopulate, bool addChildNode)
Parameters
| Type | Name | Description |
|---|---|---|
| TreeNode | parentNode | The corresponding parent node. |
| object | parentItem | The parent item. |
| bool | resetChildAndRepopulate | Indicates whether child items need to be restted and repopulated. |
| bool | addChildNode | Indicates whether child node can be added or not. |
TreeGridRequestTreeItemsEventArgs(object)
Initializes a new instance of TreeGridRequestTreeItemsEventArgs class with specified parent item.
Declaration
public TreeGridRequestTreeItemsEventArgs(object parentItem)
Parameters
| Type | Name | Description |
|---|---|---|
| object | parentItem | The corresponding parent item. |
Properties
ChildItems
Gets or sets the child items.
Declaration
public IEnumerable? ChildItems { get; }
Property Value
| Type |
|---|
| IEnumerable |
ParentItem
Gets or sets the Parent item.
Declaration
public object? ParentItem { get; set; }
Property Value
| Type |
|---|
| object |
ParentNode
Gets or sets the Parent node.
Declaration
public TreeNode? ParentNode { get; set; }
Property Value
| Type |
|---|
| TreeNode |