xtrareports-devexpress-dot-xtrareports-dot-ui-dot-crosstab-dot-crosstablayoutoptions-6d8577a4.md
Specifies the position of the column total headers.
Namespace : DevExpress.XtraReports.UI.CrossTab
Assembly : DevExpress.XtraReports.v25.2.dll
NuGet Package : DevExpress.Reporting.Core
[DefaultValue(TotalHeaderPosition.Outer)]
public virtual TotalHeaderPosition ColumnTotalHeaderPosition { get; set; }
<DefaultValue(TotalHeaderPosition.Outer)>
Public Overridable Property ColumnTotalHeaderPosition As TotalHeaderPosition
| Type | Default | Description |
|---|---|---|
| TotalHeaderPosition | Outer |
The position of the column total headers.
|
Available values:
| Name | Description |
|---|---|
| Inner |
Row/column total headers are displayed in the same column/row as field values against which totals are calculated.
| | Outer |
Row/column total headers span two columns/rows: against which totals are calculated and against which values are grouped.
|
You can access this nested property as listed below:
| Object Type | Path to ColumnTotalHeaderPosition |
|---|---|
| XRCrossTab |
.LayoutOptions .ColumnTotalHeaderPosition
|
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)
Inner
See Also