Skip to main content
A newer version of this page is available. .

PivotGridControl.DataFieldAreaIndex Property

Gets or sets the position of the data field headers.

Namespace: DevExpress.Xpf.PivotGrid

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

NuGet Packages: DevExpress.WindowsDesktop.Wpf.PivotGrid, DevExpress.Wpf.PivotGrid

Declaration

public int DataFieldAreaIndex { get; set; }

Property Value

Type Description
Int32

An integer which specifies the position of the data field headers within the hierarchy of field values.

Remarks

Data field headers are displayed if the PivotGridControl contains two or more data fields. By default, the DataFieldAreaIndex property is set to -1, so the data field headers are displayed above the Data Area when they are positioned within the column area (or immediately to the left of the Data Area when positioned within the row area):

pivotgrid_datafieldareaindex_1

Setting the DataFieldAreaIndex property to 0 displays data field headers above the field values of the first column field:

pivotgrid_datafieldareaindex_0

See Also