csharp
public interface IUiWindowHostWhatever can turn a surface into a window on the user's desktop.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
⚠ Absent is the ordinary case rather than a failure. A browser tab has one canvas, Android has one activity surface and iOS has one window; the framework asks CanOpen and a control that wanted a real window falls back to a floating panel inside the one it has. That is a runtime question with a runtime answer, which is the same shape PlatformCapabilities uses and for the same reason: nothing above the platform layer carries a #if.
Fields and properties (1)
bool CanOpenWhether this host can open a window at all.
Methods (2)
IUiWindow? Open(UiDocument document, in UiWindowRequest request)Opens one, with a surface of the document in it.
bool TryLocate(UiSurface surface, out float x, out float y)Where a surface's top-left corner is on the desktop.
Used by (4)
- DockingHostVixen.Ui.Controls.Advanced
- FakeWindowsVixen.Ui.Controls.Advanced.Tests
- PlatformWindowHostVixen.Platform.Ui
- UiDocumentVixen.Ui