Skip to content

OpenFileDialogService class

The default IOpenFileDialogService implementation. It resolves the owner window through IWindowsManager and shows the platform open file dialog.

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

Declaration

public class OpenFileDialogService : IOpenFileDialogService

Constructors

name description
OpenFileDialogService() Legacy bridge for code that creates the service directly, without a container. Requires an initialized Current.
OpenFileDialogService(…) Primary constructor. Dependencies are passed explicitly, so the service can be created by any DI container and substituted in tests.

Methods

name description
Show(…)
ShowAsync(…)

See Also