Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DataViewBase.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.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v24.2.Core.dll

NuGet Package: DevExpress.Wpf.Grid.Core

#Declaration

public bool AllowColumnMoving { get; set; }

#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, users can do the following:

Individual columns provide the BaseColumn.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 BaseColumn.AllowMoving property to ‘False’. As a result, an end-user can move all columns displayed within the view, except this one particular column.

To learn more, see Columns Layout and Width.

See Also