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

PivotGridControl.Print() Method

In This Article

Invokes the Print dialog and prints the pivot grid.

Namespace: DevExpress.Xpf.PivotGrid

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

NuGet Package: DevExpress.Wpf.PivotGrid

#Declaration

public void Print()

#Remarks

This method displays the standard Print dialog that allows an end-user to print the pivot grid, select the printer (if required), specify the range of pages to print, the number of copies, etc. To print the pivot grid immediately, without invoking any dialogs, use the PivotGridControl.PrintDirect method instead.

To display the Print Preview of the pivot grid, use the PivotGridControl.ShowPrintPreview and PivotGridControl.ShowPrintPreviewDialog methods. To export the pivot grid, use the appropriate ExportTo~ method (e.g. PivotGridControl.ExportToHtml, PivotGridControl.ExportToPdf, etc.)

Note

The pivot grid can be previewed, printed and exported only if the DXPrinting Library is available.

To learn more, see Printing and Exporting.

See Also