PivotDataArea Enum
Contains values that specify the areas where the data field headers can be displayed.
Namespace: DevExpress.XtraPivotGrid
Assembly: DevExpress.PivotGrid.v24.1.Core.dll
NuGet Packages: DevExpress.PivotGrid.Core, DevExpress.Win.Navigation
Declaration
[ResourceFinder(typeof(ResFinder), "PropertyNamesRes")]
[TypeConverter(typeof(EnumTypeConverter))]
public enum PivotDataArea
Members
Name | Description |
---|---|
None
|
The data field headers are displayed as column headers. The data header is hidden. |
ColumnArea
|
The data field headers are displayed as column headers. The data header is displayed within the column header area. |
RowArea
|
The data field headers are displayed as row headers. The data header is displayed within the row header area. |
Related API Members
The following properties accept/return PivotDataArea values:
Library | Related API Members |
---|---|
Cross-Platform Class Library | PivotGridOptionsDataField.Area |
PivotGridOptionsDataField.DataFieldsLocationArea | |
ASP.NET MVC Extensions | MVCxPivotGridWebOptionsDataField.Area |
Remarks
By default, data field headers are displayed as column headers (they are visible if there are two or more data fields). You can use the PivotGridOptionsDataField.Area property of the PivotDataArea type to specify whether the data field headers should be displayed as column or row headers.
Setting this property to ColumnArea or RowArea enables the data header. This is a header which is linked with the data field headers. It can be dragged to a specific position within the column header area or row header area and as a result, the data field headers will be moved to the respective position.