RequestTreeItems Event (SfTreeGrid)

This event is used to request an IEnumerable object that holds the child item objects for a particular parent item in on demand loading.
Public Event RequestTreeItems As TreeGridRequestTreeItemsEventHandler
Dim instance As SfTreeGrid
Dim handler As TreeGridRequestTreeItemsEventHandler
AddHandler instance.RequestTreeItems, handler
public event TreeGridRequestTreeItemsEventHandler RequestTreeItems
Event Data

The event handler receives an argument of type TreeGridRequestTreeItemsEventArgs containing data related to this event. The following TreeGridRequestTreeItemsEventArgs properties provide information specific to this event.

In the TreeGridRequestTreeItemsEventArgs parent object will be passed, and your event handler needs to provide an IEnumerable object that contains the child objects for this parent object. If the parent object is null, you should provide the collection of root objects for the tree.

Syncfusion.SfGrid.WPF: 17.4460.0.39

See Also