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

PivotGridField.IsAreaAllowed(FieldArea) Method

Returns whether the current field can be positioned within the specified area.

Namespace: DevExpress.Xpf.PivotGrid

Assembly: DevExpress.Xpf.PivotGrid.v20.2.dll

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

Declaration

public bool IsAreaAllowed(
    FieldArea area
)

Parameters

Name Type Description
area FieldArea

A FieldArea object which represents the DXPivotGrid area.

Returns

Type Description
Boolean

true if the field can be positioned within the specified area; otherwise, false.

Remarks

The PivotGridField.AllowedAreas property specifies in which areas the field can be positioned. Use it to prevent the field from being positioned within specific areas.

See Also