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

Declaration

public bool IsAreaAllowed(
    PivotArea area
)
Public Function IsAreaAllowed(
    area As PivotArea
) As Boolean

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