Back to Devexpress

PivotGridControl.PrintLayoutMode Property

wpf-devexpress-dot-xpf-dot-pivotgrid-dot-pivotgridcontrol-8ad0422b.md

latest3.3 KB
Original Source

PivotGridControl.PrintLayoutMode Property

Gets or sets the layout mode of the print document. This is a dependency property.

Namespace : DevExpress.Xpf.PivotGrid

Assembly : DevExpress.Xpf.PivotGrid.v25.2.dll

NuGet Package : DevExpress.Wpf.PivotGrid

Declaration

csharp
public PrintLayoutMode PrintLayoutMode { get; set; }
vb
Public Property PrintLayoutMode As PrintLayoutMode

Property Value

TypeDescription
PrintLayoutMode

One of the PrintLayoutMode enumeration members that specifies the layout of the print document.

|

Available values:

NameDescription
SinglePageLayout

The pivot grid is represented by a single table.

This mode is preferred when the pivot grid is exported to the XLS or image format.

The following image displays the pivot grid exported to an image format using the Single Page layout mode. The dashed red line shows where the pivot grid will be cut off by the page boundaries if it is printed using this mode.

| | MultiplePagesLayout |

If the pivot grid does not fit onto one page, it is split into several tables.

This mode is preferred when the pivot grid is printed or exported to a paged document.

The following image displays the pivot grid exported to an image format using the Multiple Pages layout mode. The dashed red line shows where the pivot grid will be cut off by the page boundaries if it is printed using this mode.

| | Auto |

The layout mode is selected automatically.

The Multiple Pages layout mode is applied when the pivot grid is printed or exported to a paged document. The Single Page layout mode is applied when the pivot grid is exported to the XLS or image format.

|

Remarks

The pivot grid can be printed and exported using one of the following layout modes:

Set the PrintLayoutMode property to PrintLayoutMode.Auto to allow PivotGridControl to select the layout mode automatically.

To learn more, see Printing and Exporting.

See Also

PrintHeadersOnEveryPage

PivotGridControl Class

PivotGridControl Members

DevExpress.Xpf.PivotGrid Namespace