Skip to main content
A newer version of this page is available. .

BandedGridView.BandPanelRowHeight Property

Gets or sets the band panel row height.

Namespace: DevExpress.XtraGrid.Views.BandedGrid

Assembly: DevExpress.XtraGrid.v19.2.dll

Declaration

[DXCategory("Appearance")]
[DefaultValue(-1)]
[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