windowsforms-devexpress-dot-xtragrid-dot-views-dot-bandedgrid-dot-bandedgridoptionscustomization-cc3d5325.md
Gets or sets a value specifying whether end-users can move columns between bands.
Namespace : DevExpress.XtraGrid.Views.BandedGrid
Assembly : DevExpress.XtraGrid.v25.2.dll
NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation
[DefaultValue(false)]
[XtraSerializableProperty]
public virtual bool AllowChangeColumnParent { get; set; }
<DefaultValue(False)>
<XtraSerializableProperty>
Public Overridable Property AllowChangeColumnParent As Boolean
| Type | Default | Description |
|---|---|---|
| Boolean | false |
true if end-users can move columns between bands; otherwise, false.
|
You can access this nested property as listed below:
| Object Type | Path to AllowChangeColumnParent |
|---|---|
| BandedGridView |
.OptionsCustomization .AllowChangeColumnParent
|
If a column’s OptionsColumn.AllowMove and View’s GridOptionsCustomization.AllowColumnMoving options are enabled, end-users can change the column position by dragging its header. By default, they can only do this for reordering columns within their owning bands. If you want to allow users to move columns between bands, set the AllowChangeColumnParent option to true.
Note : a column’s parent band can be also changed programmatically by setting the column’s BandedGridColumn.OwnerBand property regardless of the AllowCangeColumnParent option setting.
See Also
BandedGridOptionsCustomization Class