VGridRowsIterator Class

Enables you to perform operations over the predefined rows.

Namespace: DevExpress.XtraVerticalGrid.Rows

Assembly: DevExpress.XtraVerticalGrid.v20.1.dll

Declaration

public class VGridRowsIterator
Public Class VGridRowsIterator

Related API Members

The following members accept/return VGridRowsIterator objects:

Remarks

The VGridRowsIterator class represents the Rows Iterator that is capable of traversing through rows arranged into a tree (it implements recursive code to do this). Thus, you do not have to write any code to traverse through grid rows.

The VGridRowsIterator class introduces two methods that can be used to traverse through different sets of rows to perform specific operations on each of them. The VGridRowsIterator.DoOperation method traverses through all rows within a VGridControlBase descendant. The VGridRowsIterator.DoLocalOperation method, traverses through the specified collection of rows and their child rows.

These methods get a parameter that specifies the operation to be performed on visited rows. The operation performed on rows is specified by a RowOperation object. Please refer to this class description for details on creating operation classes.

The VGridRowsIterator object can be accessed via the VGridControlBase.RowsIterator property.

Please refer to the Tree Traversal topic for details on using the Rows Iterator.

Inheritance

Object
VGridRowsIterator
See Also