Class TreeGridRequestTreeItemsEventArgs
Represents a class that provides event data for all SfTreeGrid related events.
Inheritance
System.Object
TreeGridRequestTreeItemsEventArgs
Namespace: Syncfusion.UI.Xaml.TreeGrid
Assembly: Syncfusion.Grid.WinUI.dll
Syntax
public class TreeGridRequestTreeItemsEventArgs : EventArgs
Constructors
TreeGridRequestTreeItemsEventArgs(TreeNode, Object, Boolean, Boolean)
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. |
System.Object | parentItem | The parent item. |
System.Boolean | resetChildAndRepopulate | Indicates whether child items need to be restted and repopulated. |
System.Boolean | 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 |
---|---|---|
System.Object | parentItem | The corresponding parent item. |
Properties
ChildItems
Gets or sets the child items.
Declaration
public IEnumerable ChildItems { get; set; }
Property Value
Type |
---|
System.Collections.IEnumerable |
ParentItem
Gets or sets the Parent item.
Declaration
public object ParentItem { get; set; }
Property Value
Type |
---|
System.Object |
ParentNode
Gets or sets the Parent node.
Declaration
public TreeNode ParentNode { get; set; }
Property Value
Type |
---|
TreeNode |