Class ScreenInfo
Screen information similar to the one returned by window.getScreenDetails() method, see https://w3c.github.io/window-management/#screendetailed.
public sealed class ScreenInfo
- Inheritance
-
ScreenInfo
- Inherited Members
Properties
AvailHeight
Height of the available screen area.
[JsonPropertyName("availHeight")]
public long AvailHeight { get; set; }
Property Value
AvailLeft
Offset of the left edge of the available screen area.
[JsonPropertyName("availLeft")]
public long AvailLeft { get; set; }
Property Value
AvailTop
Offset of the top edge of the available screen area.
[JsonPropertyName("availTop")]
public long AvailTop { get; set; }
Property Value
AvailWidth
Width of the available screen area.
[JsonPropertyName("availWidth")]
public long AvailWidth { get; set; }
Property Value
ColorDepth
Specifies the screen's color depth in bits.
[JsonPropertyName("colorDepth")]
public long ColorDepth { get; set; }
Property Value
DevicePixelRatio
Specifies the screen's device pixel ratio.
[JsonPropertyName("devicePixelRatio")]
public double DevicePixelRatio { get; set; }
Property Value
Height
Height of the screen.
[JsonPropertyName("height")]
public long Height { get; set; }
Property Value
Id
Specifies the unique identifier of the screen.
[JsonPropertyName("id")]
public string Id { get; set; }
Property Value
IsExtended
Indicates whether the device has multiple screens.
[JsonPropertyName("isExtended")]
public bool IsExtended { get; set; }
Property Value
IsInternal
Indicates whether the screen is internal to the device or external, attached to the device.
[JsonPropertyName("isInternal")]
public bool IsInternal { get; set; }
Property Value
IsPrimary
Indicates whether the screen is set as the the operating system primary screen.
[JsonPropertyName("isPrimary")]
public bool IsPrimary { get; set; }
Property Value
Label
Specifies the descriptive label for the screen.
[JsonPropertyName("label")]
public string Label { get; set; }
Property Value
Left
Offset of the left edge of the screen.
[JsonPropertyName("left")]
public long Left { get; set; }
Property Value
Orientation
Specifies the screen's orientation.
[JsonPropertyName("orientation")]
public ScreenOrientation Orientation { get; set; }
Property Value
Top
Offset of the top edge of the screen.
[JsonPropertyName("top")]
public long Top { get; set; }
Property Value
Width
Width of the screen.
[JsonPropertyName("width")]
public long Width { get; set; }