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 | Row |
A Row |
rows | VGrid |
A VGrid |
#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.