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.1.dll
NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation
Declaration
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 |
|
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.