Skip to main content
All docs
V25.1
  • 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.1.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