Back to Devexpress

VGridControlBase.BandsInterval Property

windowsforms-devexpress-dot-xtraverticalgrid-dot-vgridcontrolbase-fb13fb72.md

latest2.0 KB
Original Source

VGridControlBase.BandsInterval Property

Gets or sets the distance between bands.

Namespace : DevExpress.XtraVerticalGrid

Assembly : DevExpress.XtraVerticalGrid.v25.2.dll

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

Declaration

csharp
[DefaultValue(2)]
[XtraSerializableProperty(XtraSerializationFlags.AutoScaleX)]
public int BandsInterval { get; set; }
vb
<DefaultValue(2)>
<XtraSerializableProperty(XtraSerializationFlags.AutoScaleX)>
Public Property BandsInterval As Integer

Property Value

TypeDefaultDescription
Int322

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.

See Also

BandWidth

BandMinWidth

AutoScaleBands

VGridControlBase Class

VGridControlBase Members

DevExpress.XtraVerticalGrid Namespace