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.ShowSaveFileDialog Property

Returns the command that invokes the system file picker dialog to save the current PDF document.

Namespace: DevExpress.Maui.Pdf

Assembly: DevExpress.Maui.Pdf.dll

NuGet Package: DevExpress.Maui.Pdf

#Declaration

C#
public Command<string> ShowSaveFileDialog { get; }

#Property Value

Type Description
Command<String>

The command that that invokes the system file picker dialog to save the current PDF document.

#Remarks

The following example invokes the system file picker:

DevExpress PDF Viewer for .NET MAUI - iOS file picker

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

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