PivotGridField.AllowedAreas Property
Gets or sets the areas within which the field can be positioned. This is a dependency property.
Namespace: DevExpress.Xpf.PivotGrid
Assembly: DevExpress.Xpf.PivotGrid.v24.1.dll
NuGet Package: DevExpress.Wpf.PivotGrid
Declaration
Property Value
Type | Description |
---|---|
FieldAllowedAreas | A FieldAllowedAreas enumeration value (or a combination of values) that specifies in which areas the field can be positioned. |
Available values:
Name | Description |
---|---|
RowArea | A field can be positioned within the Row Header Area. |
ColumnArea | A field can be positioned within the Column Header Area. |
FilterArea | A field can be positioned within the Filter Header Area. |
DataArea | A field can be positioned within the Data Header Area. |
All | A field can be positioned within any area. |
Remarks
The AllowedAreas property can be used to prevent the current field from being dragged to a particular area. To do this, clear the corresponding flag in the AllowedAreas value.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AllowedAreas 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.