Back to Devexpress

PivotGridFieldBase.IsAreaAllowed(PivotArea) Method

corelibraries-devexpress-dot-xtrapivotgrid-dot-pivotgridfieldbase-dot-isareaallowed-x28-devexpress-dot-xtrapivotgrid-dot-pivotarea-x29.md

latest2.2 KB
Original Source

PivotGridFieldBase.IsAreaAllowed(PivotArea) Method

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

Namespace : DevExpress.XtraPivotGrid

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

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

Declaration

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

Parameters

NameTypeDescription
areaPivotArea

A PivotArea object which represents the area to test.

|

Returns

TypeDescription
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

AllowedAreas

PivotGridFieldBase Class

PivotGridFieldBase Members

DevExpress.XtraPivotGrid Namespace