Table of Contents

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

Left double

The left of the window's frame.

Top double

The top of the window's frame.

ContentSize VhSize

The size inside the frame.

Properties

ContentSize

The size inside the frame.

public VhSize ContentSize { get; init; }

Property Value

VhSize

Left

The left of the window's frame.

public double Left { get; init; }

Property Value

double

Top

The top of the window's frame.

public double Top { get; init; }

Property Value

double