ISystemDialogImpl.

ShowFileDialogAsync(FileDialog, Window) Method

Summary

Shows a file dialog.
Namespace
Avalonia.Controls.Platform
Containing Type
ISystemDialogImpl

Syntax

Task<string[]> ShowFileDialogAsync(FileDialog dialog, Window parent)

Parameters

Name Type Description
dialog FileDialog The details of the file dialog to show.
parent Window The parent window.

Return Value

Type Description
Task<string[]> A task returning the selected filenames.