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

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

#Declaration

public virtual void DoLocalOperation(
    RowOperation operation,
    VGridRows rows
)

#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