IWindow interface¶
An application window, as the services here see it. A view model receives one from IWindowsManager and hands it back as the owner of the dialog it asks for, without ever naming a window type of the UI framework.
Members¶
| name | description |
|---|---|
| IsActive { get; } | Whether this is the window the user is currently working in. |
| Title { get; } | The window caption. |
| Activate() | Brings the window to the front and gives it the input focus. |
| Close() | 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.