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

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

#Property Value

Type
Command<String>

#Remarks

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