corelibraries-devexpress-dot-xtrapivotgrid-c7cd5e0c.md
Contains values that specify the areas where the data field headers can be displayed.
Namespace : DevExpress.XtraPivotGrid
Assembly : DevExpress.PivotGrid.v25.2.Core.dll
NuGet Packages : DevExpress.PivotGrid.Core, DevExpress.Win.Navigation
[ResourceFinder(typeof(ResFinder), "PropertyNamesRes")]
public enum PivotDataArea
<ResourceFinder(GetType(ResFinder), "PropertyNamesRes")>
Public Enum PivotDataArea
| 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.
|
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 |
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.
See Also