Skip to main content
A newer version of this page is available. .
Tag

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.v20.2.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.PivotGrid, DevExpress.Wpf.PivotGrid

Declaration

public FieldAllowedAreas AllowedAreas { get; set; }

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.

See Also