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

VGridRows Class

Represents a collection of rows within the VGridControlBase control.

Namespace: DevExpress.XtraVerticalGrid.Rows

Assembly: DevExpress.XtraVerticalGrid.v24.2.dll

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

#Declaration

[ListBindable(false)]
public class VGridRows :
    CollectionBase,
    IEnumerable<BaseRow>,
    IEnumerable

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.

#Inheritance

See Also