Skip to content

IWindowsManager.ActiveWindow property

The window a new dialog should be shown on top of: the currently active window, falling back to the application main window. null when the application has no window yet.

Namespace: Eremex.AvaloniaUI.Controls.ApplicationServices
Assembly: Eremex.Common.Contracts.dll
NuGet Package: Eremex.Common.Contracts

Declaration

public IWindow? ActiveWindow { get; }

Remarks

Handed out as an IWindow so that this assembly carries no reference to a UI framework, the same way every service here takes its owner. An implementation is expected to expose the framework type as well, for callers that know the framework.

See Also