Back to Devexpress

PivotGridField.IsAreaAllowed(FieldArea) Method

wpf-devexpress-dot-xpf-dot-pivotgrid-dot-pivotgridfield-dot-isareaallowed-x28-devexpress-dot-xpf-dot-pivotgrid-dot-fieldarea-x29.md

latest1.7 KB
Original Source

PivotGridField.IsAreaAllowed(FieldArea) Method

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

Namespace : DevExpress.Xpf.PivotGrid

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

NuGet Package : DevExpress.Wpf.PivotGrid

Declaration

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

Parameters

NameTypeDescription
areaFieldArea

A FieldArea object which represents the DXPivotGrid area.

|

Returns

TypeDescription
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

AllowedAreas

PivotGridField Class

PivotGridField Members

DevExpress.Xpf.PivotGrid Namespace