Back to Devexpress

CrossTabPrintOptions.PrintLayout Property

xtrareports-devexpress-dot-xtrareports-dot-ui-dot-crosstab-dot-crosstabprintoptions.md

latest2.9 KB
Original Source

CrossTabPrintOptions.PrintLayout Property

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

Declaration

csharp
[DefaultValue(PrintLayout.AcrossOnly)]
public PrintLayout PrintLayout { get; set; }
vb
<DefaultValue(PrintLayout.AcrossOnly)>
Public Property PrintLayout As PrintLayout

Property Value

TypeDefaultDescription
PrintLayoutAcrossOnly

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:

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

|

Property Paths

You can access this nested property as listed below:

Object TypePath to PrintLayout
XRCrossTab

.PrintOptions .PrintLayout

|

Remarks

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

AcrossThenDownOffset

CrossTabPrintOptions Class

CrossTabPrintOptions Members

DevExpress.XtraReports.UI.CrossTab Namespace