HingeState Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Describes the hinge state of a hinged device.
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
- Inheritance
-
HingeState
- Attributes
Windows requirements
Device family |
Windows 10, version 1809 (introduced in 10.0.17763.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v7.0)
|
Fields
Name | Value | Description |
---|---|---|
Unknown | 0 | The hinge state is unknown. |
Closed | 1 | The device is closed. |
Concave | 2 | The device is opened more than 180 degrees. |
Flat | 3 | The device is opened 180 degrees. |
Convex | 4 | The device is opened less than 180 degrees. |
Full | 5 | The device is fully opened. |