Dela via


HandPreference Enum

Definition

Defines the set of directional preferences for the user interface presented by the app view.

public enum class HandPreference
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class HandPreference
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum HandPreference
var value = Windows.UI.ViewManagement.HandPreference.leftHanded
Public Enum HandPreference
Inheritance
HandPreference
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Name Value Description
LeftHanded 0

The preferred layout is for left-directional users.

RightHanded 1

The preferred layout is for right-directional users.

Applies to