The requested page is not available for the requested platform. You are viewing the content for Default platform.

DataControlBase.AllowColumnMoving Property

Gets or sets whether an end-user is allowed to move columns by dragging their headers. This is a dependency property.

Namespace: DevExpress.UI.Xaml.Grid

Assembly: DevExpress.UI.Xaml.Grid.v19.1.dll

Declaration

[XtraSerializableProperty]
public bool AllowColumnMoving { get; set; }
<XtraSerializableProperty>
Public Property AllowColumnMoving As Boolean

Property Value

Type Description
Boolean

true, to allow an end-user to move columns; otherwise, false.

Remarks

If the AllowColumnMoving property is set to true, an end-user is allowed to reorder all columns or move them to the Group Panel via drag-and-drop.

Individual columns provide the ColumnBase.AllowMoving property, that allows the default behavior specified by the view to be overridden. For instance, if the AllowColumnMoving property is set to true, you can set an individual column's ColumnBase.AllowMoving property to 'False'. As a result, an end-user can move all columns displayed within the grid, except this one particular column.

See Also