Tab

ASPxGridViewBehaviorSettings.AllowDragDrop Property

Gets or sets whether end-users can drag column headers.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll

Declaration

[DefaultValue(true)]
public bool AllowDragDrop { get; set; }
<DefaultValue(True)>
Public Property AllowDragDrop As Boolean

Property Value

Type Default Description
Boolean

true

true, to allow end-users to drag column headers; otherwise, false.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to AllowDragDrop
ASP.NET Controls and MVC Extensions ASPxGridView
.SettingsBehavior.AllowDragDrop
GridViewProperties
.SettingsBehavior.AllowDragDrop
GridViewSettings
.SettingsBehavior.AllowDragDrop
GridViewSettings<RowType>
.SettingsBehavior.AllowDragDrop
MVCxGridView
.SettingsBehavior.AllowDragDrop
MVCxGridView
.SettingsBehavior.AllowDragDrop
MVCxGridViewProperties
.SettingsBehavior.AllowDragDrop
MVCxGridViewProperties
.SettingsBehavior.AllowDragDrop
ASP.NET Bootstrap Controls BootstrapGridView
.SettingsBehavior.AllowDragDrop
BootstrapGridView
.SettingsBehavior.AllowDragDrop

Remarks

If the AllowDragDrop option is set to true, end users are allowed to:

  • reorder columns in the customization dialog and the column header panel;