HingeState 列舉
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
描述轉軸裝置的轉軸狀態。
public enum class HingeState
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 458752)]
enum class HingeState
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 458752)]
/// [Windows.Foundation.Metadata.Deprecated("HingeState is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 655360, "Windows.Foundation.UniversalApiContract")]
enum class HingeState
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 458752)]
public enum HingeState
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 458752)]
[Windows.Foundation.Metadata.Deprecated("HingeState is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 655360, "Windows.Foundation.UniversalApiContract")]
public enum HingeState
var value = Windows.System.Preview.HingeState.unknown
Public Enum HingeState
- 繼承
-
HingeState
- 屬性
Windows 需求
裝置系列 |
Windows 10, version 1809 (已於 10.0.17763.0 引進)
|
API contract |
Windows.Foundation.UniversalApiContract (已於 v7.0 引進)
|
欄位
Closed | 1 | 裝置已關閉。 |
Concave | 2 | 裝置開啟超過 180 度。 |
Convex | 4 | 裝置開啟小於 180 度。 |
Flat | 3 | 裝置已開啟 180 度。 |
Full | 5 | 裝置已完全開啟。 |
Unknown | 0 | 轉軸狀態未知。 |