Skip to main content

BandedGridOptionsCustomization.AllowChangeColumnParent Property

Gets or sets a value specifying whether end-users can move columns between bands.

Namespace: DevExpress.XtraGrid.Views.BandedGrid

Assembly: DevExpress.XtraGrid.v24.1.dll

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

Declaration

[DefaultValue(false)]
[XtraSerializableProperty]
public virtual bool AllowChangeColumnParent { get; set; }

Property Value

Type Default Description
Boolean false

true if end-users can move columns between bands; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to AllowChangeColumnParent
BandedGridView
.OptionsCustomization .AllowChangeColumnParent

Remarks

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