Back to Devexpress

PivotDataArea Enum

corelibraries-devexpress-dot-xtrapivotgrid-c7cd5e0c.md

latest3.2 KB
Original Source

PivotDataArea Enum

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

Declaration

csharp
[ResourceFinder(typeof(ResFinder), "PropertyNamesRes")]
public enum PivotDataArea
vb
<ResourceFinder(GetType(ResFinder), "PropertyNamesRes")>
Public Enum PivotDataArea

Members

NameDescription
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:

LibraryRelated API Members
Cross-Platform Class LibraryPivotGridOptionsDataField.Area
PivotGridOptionsDataField.DataFieldsLocationArea
ASP.NET MVC ExtensionsMVCxPivotGridWebOptionsDataField.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.

See Also

Area

AreaIndex

DevExpress.XtraPivotGrid Namespace