Back to Devexpress

PivotGridControl.AllowDrag Property

wpf-devexpress-dot-xpf-dot-pivotgrid-dot-pivotgridcontrol-4027013b.md

latest2.3 KB
Original Source

PivotGridControl.AllowDrag Property

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

Declaration

csharp
public bool AllowDrag { get; set; }
vb
Public Property AllowDrag As Boolean

Property Value

TypeDescription
Boolean

true if end-users are allowed to drag the field headers; otherwise, false.

|

Remarks

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

xml
</Grid.RowDefinitions>
<dxpg:PivotGridControl Grid.Row="1" Margin="2,2,2,0" Name="pivotGrid" AllowDrag="False"
                       FieldValueDisplayText="pivotGrid_FieldValueDisplayText"

See Also

AllowDrag

PivotGridControl Class

PivotGridControl Members

DevExpress.Xpf.PivotGrid Namespace