PivotDataArea Enum
Contains values that specify the areas where the data field headers can be displayed.
Namespace: DevExpress.XtraPivotGrid
Assembly: DevExpress.PivotGrid.v17.2.Core.dll
Declaration
[TypeConverter(typeof(EnumTypeConverter))]
[ResourceFinder(typeof(ResFinder), "PropertyNamesRes")]
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 Web Forms Controls | 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.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the PivotDataArea enum.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.