| File: Types\DisplayRotation.shared.cs | Web Access |
| Project: src\src\Essentials\src\Essentials.csproj (Microsoft.Maui.Essentials) |
namespace Microsoft.Maui.Devices { /// <summary> /// Represents the rotation a device display can have. /// </summary> public enum DisplayRotation { /// <summary>Unknown display rotation.</summary> Unknown = 0, /// <summary>The device display is rotated 0 degrees.</summary> Rotation0 = 1, /// <summary>The device display is rotated 90 degrees.</summary> Rotation90 = 2, /// <summary>The device display is rotated 180 degrees.</summary> Rotation180 = 3, /// <summary>The device display is rotated 270 degrees.</summary> Rotation270 = 4 } }