Back to Devexpress

MVCxPivotGridWebOptionsDataField.Area Property

aspnetmvc-devexpress-dot-web-dot-mvc-dot-mvcxpivotgridweboptionsdatafield.md

latest3.8 KB
Original Source

MVCxPivotGridWebOptionsDataField.Area Property

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

Namespace : DevExpress.Web.Mvc

Assembly : DevExpress.Web.Mvc5.v25.2.dll

NuGet Package : DevExpress.Web.Mvc5

Declaration

csharp
public PivotDataArea Area { get; set; }
vb
Public Property Area As PivotDataArea

Property Value

TypeDescription
PivotDataArea

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

|

Available values:

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.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to Area
PivotGridSettings

.OptionsDataField .Area

|

Remarks

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

By default, the data field headers are displayed as column headers:

If the Area property is set to PivotDataArea.ColumnArea the data field headers are still displayed as column headers. In addition, the data header is enabled and displayed within the column header area. The data header 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 an appropriate location.

If the Area property is set to PivotDataArea.RowArea the data header will be moved to the row header area and the data field headers will be displayed as row headers:

See Also

AreaIndex

RowHeaderWidth

MVCxPivotGridWebOptionsDataField Class

MVCxPivotGridWebOptionsDataField Members

DevExpress.Web.Mvc Namespace