New to Telerik UI for .NET MAUIStart a free 30-day trial

Command context providing information about loading the children of an item on demand in the RadTreeView control.

Definition

Namespace:Telerik.Maui.Controls.TreeView

Assembly:Telerik.Maui.Controls.dll

Syntax:

C#
public class TreeViewLoadChildrenOnDemandCommandContext : EventArgs

Inheritance: objectEventArgsTreeViewLoadChildrenOnDemandCommandContext

Inherited Members EventArgs.Empty

Constructors

Initializes a new instance of the TreeViewLoadChildrenOnDemandCommandContext class.

C#
public TreeViewLoadChildrenOnDemandCommandContext(object item, Action finished)
Parameters:itemobject

Specifies the item to load on demand.

finishedAction

Specifies an Action to execute when an asynchronous load on demand has finished.

Properties

Gets the item to load on demand.

C#
public object Item { get; }

Methods

Notifies the RadTreeView control that an asynchronous load on demand has finished.

C#
public void Finish()