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

AdvBandedGridOptionsView.ColumnAutoWidth Property

Gets or sets a value which specifies whether column widths are automatically modified so that the total width of all the columns matches the View’s width.

Namespace: DevExpress.XtraGrid.Views.BandedGrid

Assembly: DevExpress.XtraGrid.v19.1.dll

Declaration

[DefaultValue(false)]
public override bool ColumnAutoWidth { get; set; }

Property Value

Type Default Description
Boolean **false**

true to enable the column auto width feature; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to ColumnAutoWidth
AdvBandedGridView
.OptionsView.ColumnAutoWidth

Remarks

This property is overridden to change the default value.

If a column’s OptionsColumn.FixedWidth option is enabled, the column’s width is not changed when the auto width feature is applied.

Similarly, if a band’s OptionsBand.FixedWidth option is enabled, the band’s width is not changed when the auto width feature is applied.

See Also