Struct DesktopWindowPlacement
- Namespace
- VpnHood.AppUi.Hosting.Desktop.Abstractions
- Assembly
- VpnHood.AppUi.Hosting.Desktop.Abstractions.dll
Represents where a desktop UI's window opens and the room it gives what it shows, in the screen's logical units.
public readonly record struct DesktopWindowPlacement : IEquatable<DesktopWindowPlacement>
- Implements
- Inherited Members
Constructors
DesktopWindowPlacement(double, double, VhSize)
Represents where a desktop UI's window opens and the room it gives what it shows, in the screen's logical units.
public DesktopWindowPlacement(double Left, double Top, VhSize ContentSize)
Parameters
LeftdoubleThe left of the window's frame.
TopdoubleThe top of the window's frame.
ContentSizeVhSizeThe size inside the frame.
Properties
ContentSize
The size inside the frame.
public VhSize ContentSize { get; init; }
Property Value
Left
The left of the window's frame.
public double Left { get; init; }
Property Value
Top
The top of the window's frame.
public double Top { get; init; }