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

PdfViewer.ShowOpenFileDialogAsync() Method

Invokes the platform-based file explorer.

Namespace: DevExpress.Maui.Pdf

Assembly: DevExpress.Maui.Pdf.dll

NuGet Package: DevExpress.Maui.Pdf

#Declaration

C#
public Task ShowOpenFileDialogAsync()

#Returns

Type Description
Task

A task that allows you to wait for the document is selected.

#Remarks

The PdfViewer component prevents users from selecting non-PDF files. On Android, the dialog shows only PDF files available for choice. On iOS, non-PDF files appear grey-faded.

See Also