Back to Devexpress

PdfViewerCommands.ShowSaveFileDialog Property

maui-devexpress-dot-maui-dot-pdf-dot-pdfviewercommands-14cb5330.md

latest1.4 KB
Original Source

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

csharp
public Command<string> ShowSaveFileDialog { get; }

Property Value

TypeDescription
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:

xaml
<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

PdfViewerCommands Class

PdfViewerCommands Members

DevExpress.Maui.Pdf Namespace