xtrareports-devexpress-dot-xtrareports-dot-ui-dot-crosstab-dot-crosstabprintoptions.md
Specifies how to print the Cross Tab across several pages.
Namespace : DevExpress.XtraReports.UI.CrossTab
Assembly : DevExpress.XtraReports.v25.2.dll
NuGet Package : DevExpress.Reporting.Core
[DefaultValue(PrintLayout.AcrossOnly)]
public PrintLayout PrintLayout { get; set; }
<DefaultValue(PrintLayout.AcrossOnly)>
Public Property PrintLayout As PrintLayout
| Type | Default | Description |
|---|---|---|
| PrintLayout | AcrossOnly |
A value that specifies whether to display the Cross Tab’s content that does not fit on a page on the same page or on the next page.
|
Available values:
| Name | Description |
|---|---|
| AcrossOnly |
The Cross Tab content that does not fit on a page is printed on the next page.
| | AcrossThenDown |
The Cross Tab content that does not fit on a page is printed on the same page below the previous content. When there is no more empty space on the page, the content is printed on the next page.
|
You can access this nested property as listed below:
| Object Type | Path to PrintLayout |
|---|---|
| XRCrossTab |
.PrintOptions .PrintLayout
|
At design time, you can set the PrintLayout property in the Cross Tab’s smart tag or in the Properties window’s PrintOptions group.
This property provides the following values:
AcrossOnly (Default)
AcrossThenDown
Note
Cross tab cells are split between pages if they do not fit the page’s width or height. Set the report’s VerticalContentSplitting and HorizontalContentSplitting properties to Smart to move cells to the next page (or to the Cross Tab’s next part shown on the same page).
See Also