Skip to main content

VGridRowsIterator.DoOperation(RowOperation) Method

Performs the specified operation across all rows within a vertical grid control.

Namespace: DevExpress.XtraVerticalGrid.Rows

Assembly: DevExpress.XtraVerticalGrid.v22.1.dll


public virtual void DoOperation(
    RowOperation operation


Name Type Description
operation RowOperation

A RowOperation descendant representing the operation to perform.


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.

See Also