PivotGridControl.DataFieldArea Property

Gets or sets the area in which the data field headers are displayed.

Namespace: DevExpress.Xpf.PivotGrid

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

Declaration

public DataFieldArea DataFieldArea { get; set; }
Public Property DataFieldArea As DataFieldArea

Property Value

Type Description
DataFieldArea

A DataFieldArea enumeration value that specifies the area in which the data field headers are displayed.

Remarks

The DataFieldArea property determines the area in which the data field headers are displayed, when there are two or more data fields. The DataFieldArea property also enables the data header, which allows end-users to move data field headers between and within the column or row header area.

If the DataFieldArea property is set to DataFieldArea.ColumnArea, the data field headers are displayed as column headers. The data header is enabled and displayed within the column header area. The data header can be dragged to a specific position within the column header area or row header area. As a result, the data field headers are moved to an appropriate location.

pivotgrid_dataheaderarea_column

If the DataFieldArea property is set to DataFieldArea.RowArea, the data header is displayed within the row header area. The data field headers are displayed as row headers:

pivotgrid_dataheaderarea_row

Setting the DataFieldArea property to DataFieldArea.None, hides the data header. The data field headers are displayed as column headers.

See Also