Skip to main content

TreeListNodesIterator.Do(Action<TreeListNode>, Predicate<TreeListNode>, Predicate<TreeListNode>) Method

Performs an operation across all Tree List nodes that fit the specific criteria.

Namespace: DevExpress.XtraTreeList.Nodes.Operations

Assembly: DevExpress.XtraTreeList.v23.2.dll

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.TreeList

Declaration

public virtual void Do(
    Action<TreeListNode> execute,
    Predicate<TreeListNode> canContinueIteration,
    Predicate<TreeListNode> canExecute
)

Parameters

Name Type Description
execute Action<TreeListNode>

An Action<TreeListNode> delegate that performs an operation on nodes.

canContinueIteration Predicate<TreeListNode>

A Predicate<TreeListNode> delegate that checks whether or not the execute operation should be applied to the remaining nodes.

canExecute Predicate<TreeListNode>

A Predicate<TreeListNode> delegate that checks whether or not the execute operation can be applied to the current node.

See Also