Skip to main content
A newer version of this page is available. .

OptionsColumn.AllowMove Property

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

Namespace: DevExpress.XtraGrid.Columns

Assembly: DevExpress.XtraGrid.v21.2.dll

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

Declaration

[DefaultValue(true)]
[XtraSerializableProperty]
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
GridColumn
.OptionsColumn .AllowMove

Remarks

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