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

BandedGridColumn.RowCount Property

Gets or sets the column header height in rows.

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]
[XtraSerializablePropertyId(3)]
public virtual int RowCount { get; set; }

#Property Value

Type Default Description
Int32 1

An integer value specifying the column header height in rows. Values less than 1 are not accepted.

#Remarks

The height of a single column header row is specified by the GridView.ColumnPanelRowHeight property. The image below illustrates the relation between the GridView.ColumnPanelRowHeight and RowCount properties.

BandedGridColumn_RowCount

Setting the RowCount property affects not only the column header’s height but the height of each cell within this column. The height of a single data cell row, however, is specified by the GridView.RowHeight property.

See Also