PivotGridField.SetAreaPosition(FieldArea, Int32) Method
Positions the field in the specified area and at the specified location.
Namespace: DevExpress.Xpf.PivotGrid
Assembly: DevExpress.Xpf.PivotGrid.v24.2.dll
NuGet Package: DevExpress.Wpf.PivotGrid
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
area | Field |
A Field |
area |
Int32 | A zero-based integer that specifies the field’s index among the other fields displayed within the same area. |
#Remarks
Each field can be positioned within one of four areas: Filter Header Area, Column Header Area, Row Header Area and Data Header Area.
The SetAreaPosition method sets the field’s PivotGridField.Area and PivotGridField.AreaIndex properties. You can specify in which areas the field is allowed to be located using the PivotGridField.AllowedAreas property. To obtain whether the field can be located in a particular area, use the PivotGridField.IsAreaAllowed property.