VGridControlBase.BandCount Property

Gets the number of bands currently displayed.

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v20.1.dll


public int BandCount { get; }
Public ReadOnly Property BandCount As Integer

Property Value

Type Description

An integer value that indicates the number of currently displayed bands.


When the bands layout is applied to the vertical grid control, a single record is displayed within the control at a time. If record cells don't fit into the control vertically, they are arranged in bands (see the image below):

BandsLayout - BandCount

The BandCount property returns the number of bands a record occupies. For the image above this property returns 2.

See Also