UserInteractionMode UserInteractionMode UserInteractionMode UserInteractionMode UserInteractionMode Enum

Definition

Specifies the UI view, optimized for input device type.

public : enum class UserInteractionMode
enum class winrt::Windows::UI::ViewManagement::UserInteractionMode : int32_t
public enum UserInteractionMode
Public Enum UserInteractionMode
var value = Windows.UI.ViewManagement.UserInteractionMode.mouse;
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 Mouse 0

The device UI is optimized for mouse input.

Touch Touch Touch Touch Touch 1

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.

See Also