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.v20.2.dll

Declaration

public virtual void DoLocalOperation(
    RowOperation operation,
    VGridRows rows
)
Public Overridable Sub DoLocalOperation(
    operation As RowOperation,
    rows As VGridRows
)

Parameters

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.

Remarks

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