ScreenOrientation Enum
Definition
Describes the orientation of a screen.
public enum ScreenOrientation
Fields
| Name | Description |
|---|---|
| Landscape | Specifies that the monitor is oriented in landscape mode where the width of the screen viewing area is greater than the height. |
| LandscapeFlipped | Specifies that the monitor rotated another 90 degrees in the clockwise direction (to equal 180 degrees) to orient the screen in landscape mode where the width of the screen viewing area is greater than the height. This landscape mode is flipped 180 degrees from the Landscape mode. |
| None | No screen orientation is specified. |
| Portrait | Specifies that the monitor rotated 90 degrees in the clockwise direction to orient the screen in portrait mode where the height of the screen viewing area is greater than the width. |
| PortraitFlipped | Specifies that the monitor rotated another 90 degrees in the clockwise direction (to equal 270 degrees) to orient the screen in portrait mode where the height of the screen viewing area is greater than the width. This portrait mode is flipped 180 degrees from the Portrait mode. |
Landscape Field
Specifies that the monitor is oriented in landscape mode where the width of the screen viewing area is greater than the height.
public Avalonia.Platform.ScreenOrientation Landscape
LandscapeFlipped Field
Specifies that the monitor rotated another 90 degrees in the clockwise direction (to equal 180 degrees) to orient the screen in landscape mode where the width of the screen viewing area is greater than the height. This landscape mode is flipped 180 degrees from the Landscape mode.
public Avalonia.Platform.ScreenOrientation LandscapeFlipped
None Field
No screen orientation is specified.
public Avalonia.Platform.ScreenOrientation None
Portrait Field
Specifies that the monitor rotated 90 degrees in the clockwise direction to orient the screen in portrait mode where the height of the screen viewing area is greater than the width.
public Avalonia.Platform.ScreenOrientation Portrait
PortraitFlipped Field
Specifies that the monitor rotated another 90 degrees in the clockwise direction (to equal 270 degrees) to orient the screen in portrait mode where the height of the screen viewing area is greater than the width. This portrait mode is flipped 180 degrees from the Portrait mode.
public Avalonia.Platform.ScreenOrientation PortraitFlipped