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.BandWidth Property

Gets the band width.

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v24.2.dll

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

#Declaration

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

#Property Value

Type Description
Int32

An integer value which specifies the band width, in pixels.

#Remarks

A band’s width is the combined width of a row header and data cell. To change their widths use the VGridControlBase.RowHeaderWidth and VGridControlBase.RecordWidth properties, respectively. Changing either of these properties will affect the band’s width. Note however that the band’s width cannot be set to less than the value specified by the VGridControlBase.BandMinWidth property.

VGrid - BandWidth

For information on how end-users can resize bands, see Resizing Rows and Records.

See Also