ISaveFileDialogService.ShowAsync method¶
Shows a save file dialog without blocking the calling thread.
Namespace: Eremex.AvaloniaUI.Controls.ApplicationServices
Assembly: Eremex.Common.Contracts.dll
NuGet Package: Eremex.Common.Contracts
Declaration¶
Parameters¶
| name | type | description |
|---|---|---|
| owner | IWindow? |
The window the dialog is shown on top of. When null, the active application window is used. |
| options | SaveFileDialogOptions? |
The dialog configuration — caption, filters, start folder, suggested file name. When null, platform defaults apply. |
Returns¶
| type | description |
|---|---|
Task<string?> |
A task that completes when the dialog closes, carrying the selected path, or null if the user cancelled the dialog or no owner window could be resolved. |
See Also¶
- interface IWindow
- class SaveFileDialogOptions
- interface ISaveFileDialogService
- namespace Eremex.AvaloniaUI.Controls.ApplicationServices