windowsforms-devexpress-dot-xtratreelist-dot-columns-dot-treelistoptionsband-0f71c7e2.md
Specifies whether the band’s width remains fixed when the TreeList‘s auto width feature is enabled and the Tree List is resized.
Namespace : DevExpress.XtraTreeList.Columns
Assembly : DevExpress.XtraTreeList.v25.2.dll
NuGet Packages : DevExpress.Win.Navigation, DevExpress.Win.TreeList
[DefaultValue(false)]
[XtraSerializableProperty]
public bool FixedWidth { get; set; }
<DefaultValue(False)>
<XtraSerializableProperty>
Public Property FixedWidth As Boolean
| Type | Default | Description |
|---|---|---|
| Boolean | false |
true if the band’s width remains fixed; otherwise, false.
|
You can access this nested property as listed below:
| Object Type | Path to FixedWidth |
|---|---|
| TreeListBand |
.OptionsBand .FixedWidth
|
The FixedWidth property is in effect only when the Tree List is resized. The OptionsBand.AllowSize and TreeListOptionsCustomization.AllowBandResizing properties don’t depend on the FixedWidth property’s value.
The auto width option can be enabled by setting the TreeList’s TreeListOptionsView.AutoWidth property to true.
See Also