PivotGridFieldBase.AllowedAreas Property
Gets or sets the areas within which the field can be positioned.
Namespace: DevExpress.XtraPivotGrid
Assembly: DevExpress.PivotGrid.v24.1.Core.dll
NuGet Packages: DevExpress.PivotGrid.Core, DevExpress.Win.Navigation
Declaration
Property Value
Type | Description |
---|---|
PivotGridAllowedAreas | A PivotGridAllowedAreas value that specifies which areas the field can be positioned in. |
Available values:
Name | Description |
---|---|
All | Specifies that a field can be positioned within any area. |
RowArea | Specifies that a field can be positioned within the Row Header Area. |
ColumnArea | Specifies that a field can be positioned within the Column Header Area. |
FilterArea | Specifies that a field can be positioned within the Filter Header Area. |
DataArea | Specifies that a field can be positioned within the Data Header Area. |
Remarks
The AllowedAreas property can be used to prevent the current field from being dragged to a particular area. The PivotGridAllowedAreas type is an enumeration. If a specific flag in the AllowedAreas value is cleared the field cannot be positioned within the corresponding area.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references 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.