Class
TreeViewLoadChildrenOnDemandCommandContext

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:

cs-api-definition
public class TreeViewLoadChildrenOnDemandCommandContext : EventArgs

Inheritance: objectEventArgsTreeViewLoadChildrenOnDemandCommandContext

Inherited Members EventArgs.Empty

Constructors

TreeViewLoadChildrenOnDemandCommandContext(object, Action)

Initializes a new instance of the TreeViewLoadChildrenOnDemandCommandContext class.

Declaration

cs-api-definition
public TreeViewLoadChildrenOnDemandCommandContext(object item, Action finished)

Parameters

item

object

Specifies the item to load on demand.

finished

Action

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

Properties

Item

Gets the item to load on demand.

Declaration

cs-api-definition
public object Item { get; }

Property Value

object

Methods

Finish()

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

Declaration

cs-api-definition
public void Finish()