Skip to main content
A newer version of this page is available. .

GridBand.AutoFillDown Property

Gets or sets a value specifying whether a band header should be automatically stretched to fill the empty space below it.

Namespace: DevExpress.XtraGrid.Views.BandedGrid

Assembly: DevExpress.XtraGrid.v19.2.dll

Declaration

[DXCategory("Appearance")]
[DefaultValue(true)]
[XtraSerializableProperty]
[XtraSerializablePropertyId(3)]
public virtual bool AutoFillDown { get; set; }

Property Value

Type Default Description
Boolean **true**

true, if a band header is automatically stretched to fill the empty space below it; otherwise, false.

Remarks

Banded and Advanced Banded Grid Views allow you to change the band header height and arrange band headers in several rows via the GridBand.RowCount property The GridBand.AutoFillDown property specifies whether or not a header should be automatically stretched vertically if there is empty space below it. This has been provided because users can sometimes rearrange bands leaving an empty space within a band panel. Setting the GridBand.AutoFillDown property to true (the default) avoids this.

The image below shows the relation between the GridBand.RowCount and GridBand.AutoFillDown properties.

Concepts - BandHeader - AutoFillDown

See Also