Skip to main content

VGridControlBase.BandsInterval Property

Gets or sets the distance between bands.

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v23.2.dll

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

Declaration

[DefaultValue(2)]
[XtraSerializableProperty(XtraSerializationFlags.AutoScaleX)]
public int BandsInterval { get; set; }

Property Value

Type Default Description
Int32 2

An integer value that specifies the distance between bands, in pixels.

Remarks

Bands can be separated from each other by empty space whose width is specified by the BandsInterval property. This property cannot be set to a value less than zero or greater than 30.

The image below shows the same vertical grid with the BandsInterval property set to 0 and 20, respectively.

VGrid - BandsInterval

See Also