wpf-devexpress-dot-xpf-dot-pivotgrid-dot-pivotgridcontrol-4027013b.md
Gets or sets whether an end-user is allowed to drag the field headers. This is a dependency property.
Namespace : DevExpress.Xpf.PivotGrid
Assembly : DevExpress.Xpf.PivotGrid.v25.2.dll
NuGet Package : DevExpress.Wpf.PivotGrid
public bool AllowDrag { get; set; }
Public Property AllowDrag As Boolean
| Type | Description |
|---|---|
| Boolean |
true if end-users are allowed to drag the field headers; otherwise, false.
|
The AllowDrag property is in effect for those fields whose PivotGridField.AllowDrag property is set to null.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AllowDrag property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
wpf-pivot-grid-split-field-value-cells/CS/Window1.xaml#L15
</Grid.RowDefinitions>
<dxpg:PivotGridControl Grid.Row="1" Margin="2,2,2,0" Name="pivotGrid" AllowDrag="False"
FieldValueDisplayText="pivotGrid_FieldValueDisplayText"
See Also