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

OptionsColumn.FixedWidth Property

Gets or sets whether the column keeps its width when automatic column resizing is invoked (in column auto-width mode and by best-fit operations).

Namespace: DevExpress.XtraGrid.Columns

Assembly: DevExpress.XtraGrid.v18.2.dll

Declaration

[DefaultValue(false)]
[XtraSerializableProperty]
public bool FixedWidth { get; set; }

Property Value

Type Default Description
Boolean **false**

true, if the column keeps its width when automatic column resizing is invoked (in column auto-width mode and by best-fit operations); otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to FixedWidth
GridColumn
.OptionsColumn.FixedWidth
LayoutViewColumn
.OptionsColumn.FixedWidth
BandedGridColumn
.OptionsColumn.FixedWidth

Remarks

End-users can resize columns regardless of the FixedWidth property value. To disable column resizing by end-users, disable the OptionsColumn.AllowSize option. To limit the column width without disabling the resize functionality, use the GridColumn.MinWidth and GridColumn.MaxWidth properties.

See Columns to learn more.

See Also