VGridRows Class
Represents a collection of rows within the VGridControlBase control.
Namespace: DevExpress.XtraVerticalGrid.Rows
Assembly: DevExpress.XtraVerticalGrid.v24.2.dll
Declaration
[ListBindable(false)]
public class VGridRows :
CollectionBase,
IEnumerable<BaseRow>,
IEnumerable
Related API Members
The following members return VGridRows objects:
Remarks
The VGridRows object is a collection of row objects. Use this object’s methods and properties to manipulate rows within a grid control.
As implemented in the VGridControlBase, there are two properties of the VGridRows
type which you can use to access row collections: VGridControlBase.Rows and BaseRow.ChildRows. The grid’s VGridControlBase.Rows property provides access to the collection of top level rows of the VGridControlBase. Since each row can have child rows, a row’s BaseRow.ChildRows property is used to maintain a collection of row children, if any.
Each item of the VGridRows collection is represented by an object derived from the BaseRow class. Use the VGridRows.Item property to access an individual row within the collection.