IOpenFileDialogService.ShowAsync method¶
Shows an open file dialog without blocking the calling thread.
| parameter | description |
|---|---|
| owner | The window the dialog is shown on top of. When null, the active application window is used. |
| options | The dialog configuration — caption, filters, start folder, multiple selection. When null, platform defaults apply. |
Return Value¶
A task that completes when the dialog closes, carrying the selected file paths, or an empty array if the user cancelled the dialog or no owner window could be resolved.
See Also¶
- interface IWindow
- class OpenFileDialogOptions
- interface IOpenFileDialogService
- namespace Eremex.AvaloniaUI.Controls.ApplicationServices