Skip to main content

PivotGridControl.ShowRibbonPrintPreviewDialog() Method

Creates the printable document and displays the modal Print Preview dialog with the Ribbon.

Namespace: DevExpress.Xpf.PivotGrid

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

NuGet Package: DevExpress.Wpf.PivotGrid

Declaration

public void ShowRibbonPrintPreviewDialog()

Remarks

The Print Preview displays the pivot grid as it will appear when printed. Note that the pivot grid can be previewed and printed only if the DXPrinting Library is available.

To print the pivot grid, use the PivotGridControl.PrintDirect and PivotGridControl.Print methods. To export the pivot grid, use the appropriate ExportTo~ method (e.g. PivotGridControl.ExportToHtml, PivotGridControl.ExportToPdf, etc.)

For more information, review the Printing and Exporting topic.

See Also