BandedGridView.BandPanelRowHeight Property

Gets or sets the band panel row height.

Namespace: DevExpress.XtraGrid.Views.BandedGrid

Assembly: DevExpress.XtraGrid.v20.1.dll

Declaration

[DXCategory("Appearance")]
[DefaultValue(-1)]
[XtraSerializableProperty]
public virtual int BandPanelRowHeight { get; set; }
<DXCategory("Appearance")>
<DefaultValue(-1)>
<XtraSerializableProperty>
Public Overridable Property BandPanelRowHeight As Integer

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