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.v19.2.dll
Declaration
public virtual void DoLocalOperation(
TreeListOperationDelegate operation,
TreeListNodes nodes
)
Parameters
Name | Type | Description |
---|---|---|
operation | DevExpress.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.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the DoLocalOperation(TreeListOperationDelegate, TreeListNodes) method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.