Back to Devexpress

OptionsBand.FixedWidth Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-bandedgrid-dot-optionsband-6b633ea7.md

latest2.0 KB
Original Source

OptionsBand.FixedWidth Property

Gets or sets whether the band’s width remains fixed when the View’s auto width feature is enabled and the View is resized.

Namespace : DevExpress.XtraGrid.Views.BandedGrid

Assembly : DevExpress.XtraGrid.v25.2.dll

NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(false)]
[XtraSerializableProperty]
public bool FixedWidth { get; set; }
vb
<DefaultValue(False)>
<XtraSerializableProperty>
Public Property FixedWidth As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

true if the band’s width remains fixed when the View’s auto-width feature is enabled and the View is resized; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to FixedWidth
GridBand

.OptionsBand .FixedWidth

|

Remarks

The auto-width feature can be enabled by setting the View’s GridOptionsView.ColumnAutoWidth option to true.

See Also

OptionsBand Class

OptionsBand Members

DevExpress.XtraGrid.Views.BandedGrid Namespace