Back to Devexpress

TreeListNodesIterator.DoLocalOperation(TreeListOperationDelegate, TreeListNodes) Method

windowsforms-devexpress-dot-xtratreelist-dot-nodes-dot-operations-dot-treelistnodesiterator-dot-dolocaloperation-x28-treelistoperationdelegate-treelistnodes-x29.md

latest2.4 KB
Original Source

TreeListNodesIterator.DoLocalOperation(TreeListOperationDelegate, TreeListNodes) Method

Performs the specified method over the predefined set of nodes and their children.

Namespace : DevExpress.XtraTreeList.Nodes.Operations

Assembly : DevExpress.XtraTreeList.v25.2.dll

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

Declaration

csharp
public virtual void DoLocalOperation(
    TreeListOperationDelegate operation,
    TreeListNodes nodes
)
vb
Public Overridable Sub DoLocalOperation(
    operation As TreeListOperationDelegate,
    nodes As TreeListNodes
)

Parameters

NameTypeDescription
operationDevExpress.XtraTreeList.Nodes.Operations.TreeListOperationDelegate

A TreeListOperationDelegate object that represents the method to be called for the specified nodes.

| | nodes | TreeListNodes |

A TreeListNodes object representing the collection of nodes across which the operation is performed.

|

Remarks

Use the DoLocalOperation method to traverse through the collection of nodes specified by the nodes parameter and their child nodes, and perform a specific operation on them. The operation is specified by the operation parameter.

See Also

Tree Traversal

TreeListNodesIterator Class

TreeListNodesIterator Members

DevExpress.XtraTreeList.Nodes.Operations Namespace