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

PivotGridOptionsCustomization.AllowDrag Property

Gets or sets whether end-users are allowed to drag field headers.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.PivotGrid.v20.2.Core.dll

NuGet Packages: DevExpress.PivotGrid.Core, DevExpress.WindowsDesktop.PivotGrid.Core

Declaration

[DefaultValue(true)]
public bool AllowDrag { get; set; }

Property Value

Type Default Description
Boolean **true**

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

Property Paths

You can access this nested property as listed below:

Library Object Type Path to AllowDrag
WinForms Controls PivotGridControl
.OptionsCustomization .AllowDrag
Reporting XRPivotGrid
.OptionsCustomization .AllowDrag
ASP.NET MVC Extensions MVCxPivotGrid
.OptionsCustomization .AllowDrag
PivotGridSettings
.OptionsCustomization .AllowDrag
ASP.NET Web Forms Controls ASPxPivotGrid
.OptionsCustomization .AllowDrag

Remarks

Individual fields have a PivotGridFieldOptions.AllowDrag property which takes priority over the pivot grid’s AllowDrag property. If the field’s PivotGridFieldOptions.AllowDrag property is set to the ‘Default’ value, the ability to drag a field’s header is determined by the pivot grid’s AllowDrag property.

See Also