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

ColumnBase.AllowMoving Property

Gets or sets whether an end-user is allowed to move this column by dragging its header. This is a dependency property.

Namespace: DevExpress.UI.Xaml.Grid

Assembly: DevExpress.UI.Xaml.Grid.v18.2.dll

Declaration

[XtraSerializableProperty]
public DefaultBoolean AllowMoving { get; set; }
<XtraSerializableProperty>
Public Property AllowMoving As DefaultBoolean

Property Value

Type Description
DefaultBoolean

A DefaultBoolean enumeration value that specifies whether an end-user is allowed to move this column.

Remarks

End-users are allowed to reorder columns or move them to the Group Panel via drag-and-drop, if the grid's DataControlBase.AllowColumnMoving property is set to true. Individual columns provide the AllowMoving property, allowing the default behavior specified by the grid to be overridden. Setting the AllowMoving property to 'True' or 'False' overrides the default behavior. This can be useful when it is required to prevent individual columns from being moved by an end-user.

If the columns AllowMoving property is set to 'Default', the capability to move it via drag-and-drop is controlled by the grid's DataControlBase.AllowColumnMoving property. In this instance, to determine whether an end-user can actually move this column, use the ColumnBase.ActualAllowMoving property.

See Also