Back to Devexpress

PivotGridOptionsCustomization.AllowDrag Property

corelibraries-devexpress-dot-xtrapivotgrid-dot-pivotgridoptionscustomization-c7b0f137.md

latest2.0 KB
Original Source

PivotGridOptionsCustomization.AllowDrag Property

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

Namespace : DevExpress.XtraPivotGrid

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

NuGet Packages : DevExpress.PivotGrid.Core, DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDefaultDescription
Booleantrue

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

|

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

AllowDrag

PivotGridOptionsCustomization Class

PivotGridOptionsCustomization Members

DevExpress.XtraPivotGrid Namespace