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

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.VerticalGrid

Declaration

public virtual void DoOperation(
    RowOperation operation
)

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.

See Also