BandedGridColumn.AutoFillDown Property
Gets or sets a value specifying whether a column header should be automatically stretched to fill the empty space below it.
Namespace: DevExpress.XtraGrid.Views.BandedGrid
Assembly: DevExpress.XtraGrid.v24.2.dll
Declaration
[DefaultValue(false)]
[DXCategory("Appearance")]
[XtraSerializableProperty]
[XtraSerializablePropertyId(3)]
public virtual bool AutoFillDown { get; set; }
Property Value
Type | Default | Description |
---|---|---|
Boolean | false | true if a column header is automatically stretched to fill the empty space below it; otherwise, false. |
Remarks
Advanced Banded Grid Views allow you to change column header height and arrange column headers in several rows. As a result, empty spaces may appear below some of the column headers. The image below shows an example.
Use the AutoFillDown property to specify whether the column header height is automatically modified to fill an empty space. This can be especially useful when changing the column header position within the column header panel (moving from one row to another, for instance).
The following image shows the View before and after the Trademark column’s AutoFillDown property has been set to true. The image implies that all column headers are of the same height (their BandedGridColumn.RowCount property value is 1).
Note: after the column header height has been modified automatically, its BandedGridColumn.RowCount property value remains unchanged.