Skip to content

FileDialogServiceExtensions class

Forms of the file dialog services that take only the options, or the owner as an Avalonia TopLevel, for code that does not deal with the IWindow contract. A top level that is not a Window gives no owner, so the active application window is used.

Namespace: Eremex.AvaloniaUI.Controls.ApplicationServices
Assembly: Eremex.Avalonia.Controls.ApplicationServices.dll
NuGet Package: Eremex.Avalonia.Controls.ApplicationServices

Declaration

public static class FileDialogServiceExtensions

Methods

name description
static Show(…) Shows an open file dialog over the active application window and blocks until it is closed. (4 methods)
static ShowAsync(…) Shows an open file dialog over the given Avalonia top level without blocking. (2 methods)

See Also