Skip to main content

BandedGridColumn.RowCount Property

Gets or sets the column header height in rows.

Namespace: DevExpress.XtraGrid.Views.BandedGrid

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