2 writes to Orientation
Microsoft.Maui.Essentials (2)
Types\DisplayInfo.shared.cs (2)
24 Orientation = orientation; 43 Orientation = orientation;
14 references to Orientation
Microsoft.Maui (1)
Platform\iOS\WindowExtensions.cs (1)
140 DeviceDisplay.Current.MainDisplayInfo.Orientation;
Microsoft.Maui.Controls (2)
FlyoutPage\FlyoutPage.cs (1)
187 var orientation = DeviceDisplay.MainDisplayInfo.Orientation;
OrientationStateTrigger.cs (1)
56 var currentOrientation = DeviceDisplay.MainDisplayInfo.Orientation;
Microsoft.Maui.Controls.Foldable (1)
NoPlatformFoldableService.cs (1)
32 public bool IsLandscape => DeviceDisplay.MainDisplayInfo.Orientation.IsLandscape();
Microsoft.Maui.Essentials (10)
DeviceDisplay\DeviceDisplay.shared.cs (1)
133 metrics.Orientation,
Types\DisplayInfo.shared.cs (9)
49 /// Gets the width of the screen (in pixels) for the current <see cref="Orientation"/>. 54 /// Gets the height of the screen (in pixels) for the current <see cref="Orientation"/>. 110 /// <remarks>Equality is established by comparing if <see cref="Height"/>, <see cref="Width"/>, <see cref="Density"/>, <see cref="Orientation"/> and <see cref="Rotation"/> are all equal.</remarks> 115 Orientation.Equals(other.Orientation) && 122 /// <remarks>The hash code is computed from <see cref="Height"/>, <see cref="Width"/>, <see cref="Density"/>, <see cref="Orientation"/> and <see cref="Rotation"/>.</remarks> 124 (Height, Width, Density, Orientation, Rotation).GetHashCode(); 132 $"{nameof(Density)}: {Density}, {nameof(Orientation)}: {Orientation}, " +