Skip to main content

PlatformScreen Class

Definition

Assembly:Avalonia.Controls
Package:Avalonia
public class PlatformScreen

Inheritance: object -> Screen -> PlatformScreen

Methods

NameDescription
Equals (2 overloads)Inherited from Screen.
GetHashCodeInherited from Screen.
ToStringInherited from Screen.
TryGetPlatformHandleTries to get the platform handle for the Screen. Inherited from Screen.

Properties

NameDescription
BoundsGets the overall pixel-size and position of the screen. Inherited from Screen.
CurrentOrientationGets the current orientation of a screen. Inherited from Screen.
DisplayNameGets the device name associated with a display. Inherited from Screen.
IsPrimaryGets a value indicating whether the screen is the primary one. Inherited from Screen.
ScalingGets the scaling factor applied to the screen by the operating system. Inherited from Screen.
WorkingAreaGets the actual working-area pixel-size of the screen. Inherited from Screen.

On this page