Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

VGridRowsIterator.DoOperation(RowOperation) Method

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

Namespace: DevExpress.XtraVerticalGrid.Rows

Assembly: DevExpress.XtraVerticalGrid.v24.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