Skip to main content

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

TreeListNodesIterator.DoLocal(Action<TreeListNode>, Predicate<TreeListNode>, Predicate<TreeListNode>, Predicate<TreeListNode>, TreeListNodes) Method

In This Article

Performs a specific operation on TreeList nodes that fit the specific criteria. Can also perform the same operation on child nodes owned by the processed nodes.

Namespace: DevExpress.XtraTreeList.Nodes.Operations

Assembly: DevExpress.XtraTreeList.v24.2.dll

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

#Declaration

public virtual void DoLocal(
    Action<TreeListNode> execute,
    Predicate<TreeListNode> canContinueIteration,
    Predicate<TreeListNode> canExecute,
    Predicate<TreeListNode> visitChildren,
    TreeListNodes nodes
)

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

visitChildren Predicate<TreeListNode>

A Predicate<TreeListNode> delegate that determines whether or not the nodes iterator should try performing the execute operation on the current node’s children.

nodes TreeListNodes

A TreeListNodes collection that stores nodes which should be exposed to the execute operation.

See Also