Skip to main content

TreeNode.FlattenNodes(Boolean, Boolean, Boolean, Boolean) Method

Returns a plain collection of nodes.

Namespace: DevExpress.Maui.TreeView

Assembly: DevExpress.Maui.TreeView.dll

NuGet Package: DevExpress.Maui.TreeView

Declaration

public IEnumerable<TreeNode> FlattenNodes(
    bool includeSelf,
    bool visibleOnly,
    bool skipFilteredNodes = false,
    bool forceLoadChildNodes = false
)

Parameters

Name Type Description
includeSelf Boolean

true to include the current node; otherwise, false.

visibleOnly Boolean

true to include only visible nodes; otherwise, false.

Optional Parameters

Name Type Default Description
skipFilteredNodes Boolean False

true to skip filtered nodes; otherwise, false.

forceLoadChildNodes Boolean False

true to load and include all nested nodes; otherwise, false.

Returns

Type Description
IEnumerable<TreeNode>

A plain collection of tree nodes.

See Also