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

PivotGridFieldBase.IsAreaAllowed(PivotArea) Method

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

Namespace: DevExpress.XtraPivotGrid

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

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

Declaration

public bool IsAreaAllowed(
    PivotArea area
)

Parameters

Name Type Description
area PivotArea

A PivotArea object which represents the area to test.

Returns

Type Description
Boolean

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

Remarks

The PivotGridFieldBase.AllowedAreas property can be used to prevent a field from being positioned within specific areas. The IsAreaAllowed method returns a Boolean value which specifies whether the field can be positioned within the specified area and this is determined by the PivotGridFieldBase.AllowedAreas property.

See Also