Skip to main content

PivotGridFieldBase.IsAreaAllowed(PivotArea) Method

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

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.PivotGrid.v24.1.Core.dll

NuGet Packages: DevExpress.PivotGrid.Core, DevExpress.Win.Navigation

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