AnsweredAssumed Answered

Mymapview.Mousewheel event doesn't trigger

Question asked by bikesh707 on Mar 20, 2018
Latest reply on Mar 21, 2018 by mnielsen-esristaff

I am trying to call a method when user scrolls mouse wheel on the map but it doesn't. Here is what I tried:

 

In Xaml:

<esri:MapView MouseWheel="MyMapView_MouseWheel">

 

That didn't work so:

I tried to subscribe it in the code behind:

MyMapView.MouseWheel += MyMapView_MouseWheel;

 

It still doesn't trigger the method. However, PreviewMouseWheel works.

 

Any help appreciated!

 

Thanks!

Outcomes