BandedGridColumn.RowCount Property

Gets or sets the column header height in rows.

Namespace: DevExpress.XtraGrid.Views.BandedGrid

Assembly: DevExpress.XtraGrid.v20.1.dll

Declaration

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

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