Skip to main content

VGridControlBase.BandCount Property

Gets the number of bands currently displayed.

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v24.2.dll

Declaration

[Browsable(false)]
public int BandCount { get; }

Property Value

Type Description
Int32

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

Remarks

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