Back to Devexpress

CrossTabLayoutOptions.ColumnTotalHeaderPosition Property

xtrareports-devexpress-dot-xtrareports-dot-ui-dot-crosstab-dot-crosstablayoutoptions-6d8577a4.md

latest2.9 KB
Original Source

CrossTabLayoutOptions.ColumnTotalHeaderPosition Property

Specifies the position of the column total headers.

Namespace : DevExpress.XtraReports.UI.CrossTab

Assembly : DevExpress.XtraReports.v25.2.dll

NuGet Package : DevExpress.Reporting.Core

Declaration

csharp
[DefaultValue(TotalHeaderPosition.Outer)]
public virtual TotalHeaderPosition ColumnTotalHeaderPosition { get; set; }
vb
<DefaultValue(TotalHeaderPosition.Outer)>
Public Overridable Property ColumnTotalHeaderPosition As TotalHeaderPosition

Property Value

TypeDefaultDescription
TotalHeaderPositionOuter

The position of the column total headers.

|

Available values:

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

|

Property Paths

You can access this nested property as listed below:

Object TypePath 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)

  • Inner

See Also

CrossTabLayoutOptions Class

CrossTabLayoutOptions Members

DevExpress.XtraReports.UI.CrossTab Namespace