WindowInterop class¶
Translates between the framework free IWindow contract and the Avalonia window.
Public Members¶
| name | description |
|---|---|
| static AsAvaloniaWindow(…) | The Avalonia window behind the contract. |
| static AsWindow(…) | Presents an Avalonia window through the framework free contract the services take. |
Remarks¶
The contracts assembly cannot reference Avalonia, so a window reaches a service as an IWindow. This is the single place where an Avalonia window is presented through that contract and resolved back from it.