Back to Devexpress

PivotGridControl.GetFieldByArea(FieldArea, Int32) Method

wpf-devexpress-dot-xpf-dot-pivotgrid-dot-pivotgridcontrol-dot-getfieldbyarea-x28-devexpress-dot-xpf-dot-pivotgrid-dot-fieldarea-system-dot-int32-x29.md

latest1.8 KB
Original Source

PivotGridControl.GetFieldByArea(FieldArea, Int32) Method

Returns a field at the specified visual position in the specified area.

Namespace : DevExpress.Xpf.PivotGrid

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

NuGet Package : DevExpress.Wpf.PivotGrid

Declaration

csharp
public PivotGridField GetFieldByArea(
    FieldArea area,
    int index
)
vb
Public Function GetFieldByArea(
    area As FieldArea,
    index As Integer
) As PivotGridField

Parameters

NameTypeDescription
areaFieldArea

A FieldArea value that identifies the area containing the required field.

| | index | Int32 |

An integer value that specifies the visible index of the field within the specified area.

|

Returns

TypeDescription
PivotGridField

A PivotGridField object at the specified visual position within the specified area.

|

Remarks

Hidden fields cannot be addressed by the GetFieldByArea method.

See Also

PivotGridControl Class

PivotGridControl Members

DevExpress.Xpf.PivotGrid Namespace