Select to view content in your preferred language

MapViewHolding was not triggered via mouse input

2343
1
Jump to solution
11-27-2014 05:24 PM
LinaYap1
Deactivated User

Using ArcGISRuntime SDK for .NET - the issue here is that the mapview event, MapViewHolding, can't seem to be triggered by mouse. It works for touch. There is no issue with other MapView events (doubletapped/tapped)

Might this be a bug?

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
DominiqueBroux
Esri Frequent Contributor

No it's not a bug. You may have to use RightTapped instead.

See UIElement Holding doc:

Touch can produce a Holding action, but mouse devices generally can't.

Holding is intended for informational UI, but for interactions like displaying a context menu you should use RightTapped instead.

View solution in original post

0 Kudos
1 Reply
DominiqueBroux
Esri Frequent Contributor

No it's not a bug. You may have to use RightTapped instead.

See UIElement Holding doc:

Touch can produce a Holding action, but mouse devices generally can't.

Holding is intended for informational UI, but for interactions like displaying a context menu you should use RightTapped instead.

0 Kudos