Back to Devexpress

OptionsBand.AllowMove Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-bandedgrid-dot-optionsband-1950727b.md

latest2.3 KB
Original Source

OptionsBand.AllowMove Property

Gets or sets whether end-users can move the band by dragging its header.

Namespace : DevExpress.XtraGrid.Views.BandedGrid

Assembly : DevExpress.XtraGrid.v25.2.dll

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

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

|

Property Paths

You can access this nested property as listed below:

Object TypePath to AllowMove
GridBand

.OptionsBand .AllowMove

|

Remarks

Bands can be moved to a new position within the band panel or to the Customization Form.

To prevent all bands from being moved, use the BandedGridOptionsCustomization.AllowBandMoving property.

See Also

AllowBandMoving

OptionsBand Class

OptionsBand Members

DevExpress.XtraGrid.Views.BandedGrid Namespace