Skip to main content

OptionsColumn.AllowMove Property

Gets or sets whether end-users can drag the column’s header.

Namespace: DevExpress.XtraGrid.Columns

Assembly: DevExpress.XtraGrid.v22.2.dll

NuGet Package: DevExpress.Win.Grid


public bool AllowMove { get; set; }

Property Value

Type Default Description
Boolean true

true if end-users can drag the column’s header; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to AllowMove


Headers can be dragged within the column header panel to reorder columns or to the Customization Form to hide the columns. If the column’s OptionsColumn.AllowGroup and the View’s GridOptionsCustomization.AllowGroup options are enabled, column headers can be dragged to the group panel to group by the associated columns.

The View’s GridOptionsCustomization.AllowColumnMoving property can be used to prevent any columns from being moved by end-users.

See Also