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

PdfViewerCommands.PrintDocument Property

Returns the command that invokes the system print dialog.

Namespace: DevExpress.Maui.Pdf

Assembly: DevExpress.Maui.Pdf.dll

NuGet Package: DevExpress.Maui.Pdf

#Declaration

C#
public Command PrintDocument { get; }

#Property Value

Type Description
Command

The command that invokes the system print dialog.

#Remarks

The following example invokes the system print dialog:

DevExpress PDF Viewer for .NET MAUI - iOS print dialog

<ContentPage.ToolbarItems>
    <ToolbarItem IconImageSource="print" Command="{Binding Commands.PrintDocument, Source={x:Reference pdfViewer}}" />
</ContentPage.ToolbarItems>

<dxpdf:PdfViewer x:Name="pdfViewer" DocumentSource="ReportMerging.pdf" />
See Also