DeviceOrientationExtensions public static class DeviceOrientationExtensions For internal use by the Xamarin.Forms platform. Documentation Code public static bool IsLandscape(this DeviceOrientation orientation) For internal use by the Xamarin.Forms platform. public static bool IsPortrait(this DeviceOrientation orientation) For internal use by the Xamarin.Forms platform.