Back to Devexpress

IAsyncChildNodesSelector.SelectChildrenAsync(Object, CancellationToken) Method

wpf-devexpress-dot-xpf-dot-grid-dot-iasyncchildnodesselector-dot-selectchildrenasync-x28-system-dot-object-system-dot-threading-dot-cancellationtoken-x29.md

latest1.8 KB
Original Source

IAsyncChildNodesSelector.SelectChildrenAsync(Object, CancellationToken) Method

Returns a task that specifies a collection of child nodes when a user expands a parent node.

Namespace : DevExpress.Xpf.Grid

Assembly : DevExpress.Xpf.Grid.v25.2.dll

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
Task<IEnumerable> SelectChildrenAsync(
    object item,
    CancellationToken token
)
vb
Function SelectChildrenAsync(
    item As Object,
    token As CancellationToken
) As Task(Of IEnumerable)

Parameters

NameTypeDescription
itemObject

A node expanded by a user.

| | token | CancellationToken |

A cancellation token.

|

Returns

TypeDescription
Task<IEnumerable>

A task that returns a collection of child nodes when a user expands a parent node.

|

See Also

IAsyncChildNodesSelector Interface

IAsyncChildNodesSelector Members

DevExpress.Xpf.Grid Namespace