# IWindow interface

An application window, as the services here see it. A view model receives one from [`IWindowsManager`](./IWindowsManager.md) and hands it back as the owner of the dialog it asks for, without ever naming a window type of the UI framework.

```csharp
public interface IWindow
```

## Members

| name | description |
| --- | --- |
| [IsActive](IWindow/IsActive.md) { get; } | Whether this is the window the user is currently working in. |
| [Title](IWindow/Title.md) { get; } | The window caption. |
| [Activate](IWindow/Activate.md)() | Brings the window to the front and gives it the input focus. |
| [Close](IWindow/Close.md)() | Closes the window. |

## Remarks

This assembly carries no reference to a UI framework, so a window cannot appear here as its framework type. The UI layer presents its own windows through this interface and resolves them back when the time comes to show a dialog, the same way the file dialog options are translated into the types the platform picker expects.

## See Also

* namespace [Eremex.AvaloniaUI.Controls.ApplicationServices](./index.md)

<!-- DO NOT EDIT: generated by xmldocmd for Eremex.Common.Contracts.dll -->
