<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Mymapview.Mousewheel event doesn't trigger  in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/mymapview-mousewheel-event-doesn-t-trigger/m-p/540535#M6601</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to call a method when user scrolls mouse wheel on the map but it doesn't. Here is what I tried:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Xaml:&lt;/P&gt;&lt;P&gt;&amp;lt;esri:MapView MouseWheel="MyMapView_MouseWheel"&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That didn't work so:&lt;/P&gt;&lt;P&gt;I tried to subscribe it in the code behind:&lt;/P&gt;&lt;P&gt;MyMapView.MouseWheel += MyMapView_MouseWheel;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It still doesn't trigger the method. However, PreviewMouseWheel works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help appreciated!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Mar 2018 22:50:09 GMT</pubDate>
    <dc:creator>BikeshMaharjan1</dc:creator>
    <dc:date>2018-03-20T22:50:09Z</dc:date>
    <item>
      <title>Mymapview.Mousewheel event doesn't trigger</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/mymapview-mousewheel-event-doesn-t-trigger/m-p/540535#M6601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to call a method when user scrolls mouse wheel on the map but it doesn't. Here is what I tried:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Xaml:&lt;/P&gt;&lt;P&gt;&amp;lt;esri:MapView MouseWheel="MyMapView_MouseWheel"&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That didn't work so:&lt;/P&gt;&lt;P&gt;I tried to subscribe it in the code behind:&lt;/P&gt;&lt;P&gt;MyMapView.MouseWheel += MyMapView_MouseWheel;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It still doesn't trigger the method. However, PreviewMouseWheel works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help appreciated!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2018 22:50:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/mymapview-mousewheel-event-doesn-t-trigger/m-p/540535#M6601</guid>
      <dc:creator>BikeshMaharjan1</dc:creator>
      <dc:date>2018-03-20T22:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: Mymapview.Mousewheel event doesn't trigger</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/mymapview-mousewheel-event-doesn-t-trigger/m-p/540536#M6602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is intended behavior. The MapView uses the scroll event to perform a zoom operation and therefore the event doesn't bubble up. If it did and for instance put the MapView inside a scrollviewer, the map would both zoom and the page scroll at the same time.&lt;/P&gt;&lt;P&gt;If you disable zoom on the map view (use the InteractionOptions property), the MapView won't intercept the event and let the event bubble up.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2018 19:14:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/mymapview-mousewheel-event-doesn-t-trigger/m-p/540536#M6602</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2018-03-21T19:14:19Z</dc:date>
    </item>
  </channel>
</rss>

