VGridRowsIterator.DoOperation(RowOperation) Method
Performs the specified operation across all rows within a vertical grid control.
Namespace: DevExpress.XtraVerticalGrid.Rows
Assembly: DevExpress.XtraVerticalGrid.v19.2.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
operation | RowOperation | A RowOperation descendant representing the operation to perform. |
Remarks
The DoOperation method traverses through all rows within a vertical grid control. The operation performed on visited rows is specified by a RowOperation descendant passed as the parameter. Create the desired descendant, instantiate it and pass to this method. Please see the RowOperation class description for information on how to create the custom operation class.
If it is necessary to visit the rows of a sub-tree whose parent is specified as the parameter, use the VGridRowsIterator.DoLocalOperation method.
Refer to the Tree Traversal topic for details on using the Rows Iterator.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the DoOperation(RowOperation) 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.