File: Types\DisplayOrientation.shared.cs
Web Access
Project: src\src\Essentials\src\Essentials.csproj (Microsoft.Maui.Essentials)
namespace Microsoft.Maui.Devices
{
	/// <summary>
	/// Represents the orientation a device display can have.
	/// </summary>
	public enum DisplayOrientation
	{
		/// <summary>Unknown display orientation.</summary>
		Unknown = 0,
 
		/// <summary>Device display is in portrait orientation.</summary>
		Portrait = 1,
 
		/// <summary>Device display is in landscape orientation.</summary>
		Landscape = 2
	}
}