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

VGridControlBase.BandsInterval Property

Gets or sets the distance between bands.

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v24.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