Skip to main content
All docs
V23.2

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.v23.2.dll

NuGet Package: DevExpress.Wpf.Grid.Core

Declaration

Task<bool> HasChildNode(
    object item,
    CancellationToken token
)

Parameters

Name Type Description
item Object

A fetched node.

token CancellationToken

A cancellation token.

Returns

Type Description
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