UserInteractionMode
UserInteractionMode
UserInteractionMode
UserInteractionMode
Enum
Definition
Specifies the UI view, optimized for input device type.
public : enum class UserInteractionModepublic enum UserInteractionModePublic Enum UserInteractionMode// You can use this enum in JavaScript.
- Attributes
Windows 10 requirements
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Fields
| Mouse Mouse Mouse Mouse | The device UI is optimized for mouse input. |
| Touch Touch Touch Touch | The device UI is optimized for touch input. |
Remarks
Some devices (PC, laptop, tablet) support both a Desktop (mouse-optimized) and a Tablet (touch-optimized) mode.
Users can switch between running in Tablet mode and Desktop mode by going to Settings > System > Tablet mode and setting Make Windows more touch-friendly when using your device as a tablet.