# 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.

```csharp
public IWindow? ActiveWindow { get; }
```

## Remarks

Handed out as an [`IWindow`](../IWindow.md) 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

* interface [IWindow](../IWindow.md)
* interface [IWindowsManager](../IWindowsManager.md)
* namespace [Eremex.AvaloniaUI.Controls.ApplicationServices](../index.md)

<!-- DO NOT EDIT: generated by xmldocmd for Eremex.Common.Contracts.dll -->
