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

CrossTabPrintOptions.RepeatColumnHeaders Property

Specifies whether to repeat column headers when the Cross Tab content is split vertically.

Namespace: DevExpress.XtraReports.UI.CrossTab

Assembly: DevExpress.XtraReports.v24.2.dll

NuGet Package: DevExpress.Reporting.Core

#Declaration

[DefaultValue(true)]
public bool RepeatColumnHeaders { get; set; }

#Property Value

Type Default Description
Boolean true

true, to repeat column headers; otherwise, false.

#Property Paths

You can access this nested property as listed below:

Object Type Path to RepeatColumnHeaders
XRCrossTab
.PrintOptions .RepeatColumnHeaders

#Remarks

The Cross Tab prints column headers on each document page when the Cross Tab content does not fit on one page.

To print column headers only once, disable the RepeatColumnHeaders property in the Cross Tab’s smart tag or in the Properties window’s PrintOptions group.

This property is not in effect if the PrintLayout property is set to AcrossThenDown. Column headers are repeated in each part within the page. The part that is split between pages does not repeat its column headers on the next page.

Use the RepeatRowHeaders to define whether to print row headers on each document page.

See Also