MapInteractionMode MapInteractionMode MapInteractionMode MapInteractionMode Enum

Definition

Specifies if the map responds to a touch gesture and if the corresponding UI control appears on the map.

public : enum class MapInteractionMode
enum class winrt::Windows::UI::Xaml::Controls::Maps::MapInteractionMode : int32_t
public enum MapInteractionMode
Public Enum MapInteractionMode
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Fields

Auto Auto Auto Auto 0

Map UI control, mouse, keyboard, pen, and touch input are enabled based on the type of device that your app is running on.

ControlOnly ControlOnly ControlOnly ControlOnly 3

Map responds to the UI control only; the corresponding touch input is disabled.

Disabled Disabled Disabled Disabled 1

Map UI control and touch input are disabled.

GestureAndControl GestureAndControl GestureAndControl GestureAndControl 4

Map UI control and touch input are enabled. Pointer and keyboard are not.

GestureOnly GestureOnly GestureOnly GestureOnly 2

Map responds to touch input only; the corresponding UI control is not visible. Use PointerAndKeyboard, if you want all forms of pointer input.

PointerAndKeyboard PointerAndKeyboard PointerAndKeyboard PointerAndKeyboard 2

Map responds to mouse, pen, touch and keyboard.

PointerKeyboardAndControl PointerKeyboardAndControl PointerKeyboardAndControl PointerKeyboardAndControl 4

All forms of input are enabled including mouse, pen, touch, keyboard, and Map UI control.

PointerOnly PointerOnly PointerOnly PointerOnly 5

Map responds to mouse, pen, or touch only.

Remarks

Version history

Windows version SDK version Value added
1607 14393 PointerAndKeyboard
1607 14393 PointerKeyboardAndControl
1607 14393 PointerOnly