Vixen
02b45cc4

UiWindowRequest

struct Core/Vixen.Ui/UiWindows.cs:18
csharp
public readonly record struct UiWindowRequest

What a control asks for when it wants a window of its own.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

The coordinates are in device-independent pixels and in desktop space, which is the only space two windows share. A host that cannot honour a position — a tiling window manager, a platform with no window positioning at all — places the window where it likes and reports what happened through Bounds.

Fields and properties (8)

  • public string Title

    The title bar text.

  • public float X

    Where its left edge goes.

  • public float Y

    Its top edge.

  • public float Width

    How wide.

  • public float Height

    How tall.

  • public bool IsResizable

    Whether the user may resize it.

  • public bool IsDecorated

    Whether the operating system draws a title bar and a frame around it.

  • public UiElement? Owner

    Which element the window's contents belong under, or null for the root.

Methods (1)

  • public UiWindowRequest(string Title, float X, float Y, float Width, float Height)

    What a control asks for when it wants a window of its own.

Used by (6)

  • DockingHostVixen.Ui.Controls.Advanced
  • FakeWindowVixen.Ui.Controls.Advanced.Tests
  • FakeWindowsVixen.Ui.Controls.Advanced.Tests
  • IUiWindowHostVixen.Ui
  • PlatformWindowHostVixen.Platform.Ui
  • PlatformWindowHostTestsVixen.Platform.Ui.Tests