File: Platform\Standard\WindowExtensions.cs | Web Access |
Project: src\src\Core\src\Core.csproj (Microsoft.Maui) |
using Microsoft.Maui.Devices; namespace Microsoft.Maui { public static partial class WindowExtensions { internal static DisplayOrientation GetOrientation(this IWindow? window) => DeviceDisplay.Current.MainDisplayInfo.Orientation; } } |