Skip to main content

PdfViewerCommands.ShareDocument Property

Returns the command that invokes a share UI prompting the user to choose an app to share with.

Namespace: DevExpress.Maui.Pdf

Assembly: DevExpress.Maui.Pdf.dll

NuGet Package: DevExpress.Maui.Pdf

Declaration

public Command ShareDocument { get; }

Property Value

Type
Command

Remarks

You can also call the PdfViewer.ShareDocumentAsync method to invoke the Share menu.

Call the PdfViewer.ShareDocumentAsync method or use the PdfViewerCommands.ShareDocument command to invoke the file share UI. That UI prompts the user to choose an app that accepts and shares the file:

<Button ImageSource="share"
        Command="{Binding Commands.ShareDocument, Source={x:Reference pdfViewer}}"/>
See Also