共用方式為


DeviceOrientationExtensions.IsPortrait(DeviceOrientation) 方法

定義

供 Xamarin.Forms 平台內部使用。

public static bool IsPortrait (this Xamarin.Forms.Internals.DeviceOrientation orientation);
static member IsPortrait : Xamarin.Forms.Internals.DeviceOrientation -> bool

參數

orientation
DeviceOrientation

供 Xamarin.Forms 平台內部使用。

傳回

System.Boolean

供 Xamarin.Forms 平台內部使用。

適用於