Back to Devexpress

TreeListOptionsBand.AllowMove Property

windowsforms-devexpress-dot-xtratreelist-dot-columns-dot-treelistoptionsband-72dd36f3.md

latest2.0 KB
Original Source

TreeListOptionsBand.AllowMove Property

Specifies whether the band can be moved by dragging its header.

Namespace : DevExpress.XtraTreeList.Columns

Assembly : DevExpress.XtraTreeList.v25.2.dll

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

Declaration

csharp
[DefaultValue(true)]
[XtraSerializableProperty]
public bool AllowMove { get; set; }
vb
<DefaultValue(True)>
<XtraSerializableProperty>
Public Property AllowMove As Boolean

Property Value

TypeDefaultDescription
Booleantrue

true if the band can be moved to a new position; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to AllowMove
TreeListBand

.OptionsBand .AllowMove

|

Remarks

You can prevent all bands from being moved in a centralized way by using the TreeListOptionsCustomization.AllowBandMoving property.

See Also

AllowBandMoving

TreeListOptionsBand Class

TreeListOptionsBand Members

DevExpress.XtraTreeList.Columns Namespace