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

BandedGridView.BandPanelRowHeight Property

Gets or sets the band panel row height.

Namespace: DevExpress.XtraGrid.Views.BandedGrid

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