Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.v24.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