Table of Contents

Class DesktopWindowFitOptions

Namespace
VpnHood.AppUi.Hosting.Desktop.Abstractions
Assembly
VpnHood.AppUi.Hosting.Desktop.Abstractions.dll

Represents the shape a desktop UI's window takes on its screen, in the screen's logical units, as the UI's layout states it.

public class DesktopWindowFitOptions
Inheritance
DesktopWindowFitOptions
Inherited Members

Properties

LandscapeWidth

Gets the width of the landscape window a screen with no room for the phone's shape gets instead.

public required double LandscapeWidth { get; init; }

Property Value

double

MinLandscapeHeight

Gets the least height of that landscape window.

public required double MinLandscapeHeight { get; init; }

Property Value

double

PhoneSize

Gets the phone's shape the window opens in where its screen is tall enough for it.

public required VhSize PhoneSize { get; init; }

Property Value

VhSize