Skip to main content

CrossTabLayoutOptions.ColumnTotalHeaderPosition Property

Specifies the position of the column total headers.

Namespace: DevExpress.XtraReports.UI.CrossTab

Assembly: DevExpress.XtraReports.v24.1.dll

NuGet Package: DevExpress.Reporting.Core

Declaration

[DefaultValue(TotalHeaderPosition.Outer)]
public virtual TotalHeaderPosition ColumnTotalHeaderPosition { get; set; }

Property Value

Type Default Description
TotalHeaderPosition Outer

The position of the column total headers.

Property Paths

You can access this nested property as listed below:

Object Type Path to ColumnTotalHeaderPosition
XRCrossTab
.LayoutOptions .ColumnTotalHeaderPosition

Remarks

Use the ColumnTotalHeaderPosition property to specify where to display column total headers relative to column field values. Use the RowTotalHeaderPosition to specify the position of the row total headers.

At design time, you can set the ColumnTotalHeaderPosition property in the Properties window’s LayoutOptions group.

This property is in effect when the XRCrossTab.ColumnFields collection contains two or more data source fields. The property does not affect grand total headers.

This property provides the following values:

  • Outer (Default)

    Column total headers span two rows: against which totals are calculated and against which values are grouped.

  • Inner

    Column total headers are displayed in the same row as column field values against which totals are calculated.

See Also