5 references to IsLandscape
Microsoft.Maui.Controls (4)
FlyoutPage\FlyoutPage.cs (2)
172 bool isSplitOnLandscape = (behavior == FlyoutLayoutBehavior.SplitOnLandscape || behavior == FlyoutLayoutBehavior.Default) && orientation.IsLandscape(); 189 bool isSplitOnLandscape = (behavior == FlyoutLayoutBehavior.SplitOnLandscape || behavior == FlyoutLayoutBehavior.Default) && orientation.IsLandscape();
OrientationStateTrigger.cs (2)
57 if (Orientation.IsLandscape()) 58 SetActive(currentOrientation.IsLandscape());
Microsoft.Maui.Controls.Foldable (1)
NoPlatformFoldableService.cs (1)
32 public bool IsLandscape => DeviceDisplay.MainDisplayInfo.Orientation.IsLandscape();