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
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class MapInteractionMode
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum MapInteractionMode
Public Enum MapInteractionMode
Inheritance
MapInteractionMode
Attributes

Windows requirements

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

Fields

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 3

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

Disabled 1

Map UI control and touch input are disabled.

GestureAndControl 4

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

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 2

Map responds to mouse, pen, touch and keyboard.

PointerKeyboardAndControl 4

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

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

Applies to