Skip to main content

BandedGridView.BandPanelRowHeight Property

Gets or sets the band panel row height.

Namespace: DevExpress.XtraGrid.Views.BandedGrid

Assembly: DevExpress.XtraGrid.v24.1.dll

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

Declaration

[DefaultValue(-1)]
[DXCategory("Appearance")]
[XtraSerializableProperty]
public virtual int BandPanelRowHeight { get; set; }

Property Value

Type Default Description
Int32 -1

An integer value specifying the band panel row height in pixels. -1 to calculate the band panel row height automatically based on band header contents.

Remarks

The band header panel height depends on the BandPanelRowHeight property value and the BandedGridView.MinBandPanelRowCount property. The first specifies a single row height in pixels and the second sets the number of band panel rows to be displayed. Note, however, that the band panel height may be greater than that specified by the BandedGridView.MinBandPanelRowCount property. This occurs when band headers are arranged into several rows or their GridBand.RowCount property value is modified. In such cases, the band header panel height is automatically modified to accommodate band headers.

The height of the band headers also depends on the BandPanelRowHeight property.

See Also