Skip to main content

VGridRowsIterator.DoLocalOperation(RowOperation, VGridRows) Method

Performs the specified operation on the collection of rows (and their child rows), specified by the parameter.

Namespace: DevExpress.XtraVerticalGrid.Rows

Assembly: DevExpress.XtraVerticalGrid.v22.1.dll

NuGet Package: DevExpress.Win.VerticalGrid


public virtual void DoLocalOperation(
    RowOperation operation,
    VGridRows rows


Name Type Description
operation RowOperation

A RowOperation object representing the operation to perform.

rows VGridRows

A VGridRows object representing the collection of rows across which the operation is performed.


The DoLocalOperation method traverses through the collection of rows (and their child rows) specified by the rows parameter. The operation performed on the rows is specified by a RowOperation object. Please refer to this class description for details on how to create custom operations.

The DoLocalOperation method does nothing in the following cases:

  • the operation or rows parameter value is a null reference;
  • the rows collection specified by the rows parameter belongs to another vertical grid control.

Refer to the Tree Traversal topic for details on using the Rows Iterator.

See Also