Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

CrossTabLayoutOptions.RowTotalHeaderPosition Property

Specifies the position of the row total headers.

Namespace: DevExpress.XtraReports.UI.CrossTab

Assembly: DevExpress.XtraReports.v24.2.dll

NuGet Package: DevExpress.Reporting.Core

#Declaration

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

#Property Value

Type Default Description
TotalHeaderPosition Outer

The position of the row 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.

#Property Paths

You can access this nested property as listed below:

Object Type Path to RowTotalHeaderPosition
XRCrossTab
.LayoutOptions .RowTotalHeaderPosition

#Remarks

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

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

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

This property provides the following values:

  • Outer (Default)

    Row total headers span two columns: against which totals are calculated and against which values are grouped.

  • Inner

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

See Also