Back to Devexpress

TreeListOptionsBand.FixedWidth Property

windowsforms-devexpress-dot-xtratreelist-dot-columns-dot-treelistoptionsband-0f71c7e2.md

latest2.5 KB
Original Source

TreeListOptionsBand.FixedWidth Property

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

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; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to FixedWidth
TreeListBand

.OptionsBand .FixedWidth

|

Remarks

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

AutoWidth

TreeListOptionsBand Class

TreeListOptionsBand Members

DevExpress.XtraTreeList.Columns Namespace