Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.v24.2.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