Back to Devexpress

PivotGridControl.GetFieldCountByArea(FieldArea) Method

wpf-devexpress-dot-xpf-dot-pivotgrid-dot-pivotgridcontrol-dot-getfieldcountbyarea-x28-devexpress-dot-xpf-dot-pivotgrid-dot-fieldarea-x29.md

latest1.8 KB
Original Source

PivotGridControl.GetFieldCountByArea(FieldArea) Method

Returns the number of visible fields located within the specified area.

Namespace : DevExpress.Xpf.PivotGrid

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

NuGet Package : DevExpress.Wpf.PivotGrid

Declaration

csharp
public int GetFieldCountByArea(
    FieldArea area
)
vb
Public Function GetFieldCountByArea(
    area As FieldArea
) As Integer

Parameters

NameTypeDescription
areaFieldArea

A FieldArea enumeration value that specifies the header area.

|

Returns

TypeDescription
Int32

An integer value that specifies the number of visible fields located within the specified area.

|

Remarks

The field’s location is specified by its PivotGridField.Area property. The position within the area is specified by the PivotGridField.AreaIndex property.

See Also

PivotGridControl Class

PivotGridControl Members

DevExpress.Xpf.PivotGrid Namespace