Back to Devexpress

IAsyncChildNodesSelector.HasChildNode(Object, CancellationToken) Method

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

latest1.8 KB
Original Source

IAsyncChildNodesSelector.HasChildNode(Object, CancellationToken) Method

Returns a task that indicates whether the fetched node has child nodes. This task specifies whether the fetched node should display the expand button.

Namespace : DevExpress.Xpf.Grid

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

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
Task<bool> HasChildNode(
    object item,
    CancellationToken token
)
vb
Function HasChildNode(
    item As Object,
    token As CancellationToken
) As Task(Of Boolean)

Parameters

NameTypeDescription
itemObject

A fetched node.

| | token | CancellationToken |

A cancellation token.

|

Returns

TypeDescription
Task<Boolean>

A task that returns true if the fetched node has child nodes; false – if the node does not have child nodes.

|

See Also

IAsyncChildNodesSelector Interface

IAsyncChildNodesSelector Members

DevExpress.Xpf.Grid Namespace