Back to Devexpress

BandedGridOptionsCustomization.AllowBandMoving Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-bandedgrid-dot-bandedgridoptionscustomization-04107234.md

latest2.2 KB
Original Source

BandedGridOptionsCustomization.AllowBandMoving Property

Gets or sets whether bands can be moved to a new position.

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 virtual bool AllowBandMoving { get; set; }
vb
<DefaultValue(True)>
<XtraSerializableProperty>
Public Overridable Property AllowBandMoving As Boolean

Property Value

TypeDefaultDescription
Booleantrue

true if bands can be moved to a new position; otherwise, false

|

Property Paths

You can access this nested property as listed below:

Object TypePath to AllowBandMoving
BandedGridView

.OptionsCustomization .AllowBandMoving

|

Remarks

If this option is set to false , the layout of bands cannot be changed. To prevent a specific band from being moved to a new position, use the band’s OptionsBand.AllowMove property.

See Also

AllowMove

BandedGridOptionsCustomization Class

BandedGridOptionsCustomization Members

DevExpress.XtraGrid.Views.BandedGrid Namespace