共用方式為


DisplayInfo.Orientation 屬性

定義

取得裝置顯示器的方向。

public:
 property Microsoft::Maui::Devices::DisplayOrientation Orientation { Microsoft::Maui::Devices::DisplayOrientation get(); };
public Microsoft.Maui.Devices.DisplayOrientation Orientation { get; }
member this.Orientation : Microsoft.Maui.Devices.DisplayOrientation
Public ReadOnly Property Orientation As DisplayOrientation

屬性值

方向。

適用於