<?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 Re: how to disable/enable the zoom in/out function when scrolling mouse wheel in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-disable-enable-the-zoom-in-out-function/m-p/5228#M95</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;If you want to stop any interaction with your map when the tab view is not active, you can set to false the IsHitTestVisible property of your map.&lt;BR /&gt; &lt;BR /&gt;Just my 2cts, there is probably more subtil solutions:o&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This does not work well &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; because my app has a scrollviewer, when setting isHitTestVisible to false, scrolling the mouse wheel while the cursor is on the map does not scroll the window vertical bar and I want it worked as before, only the map zooming function is disabled.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In addition, I think the map was still set focused or something.&amp;nbsp; That is why I ask if there is a way to disable this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Apr 2011 11:23:05 GMT</pubDate>
    <dc:creator>ThaoNguyen</dc:creator>
    <dc:date>2011-04-15T11:23:05Z</dc:date>
    <item>
      <title>how to disable/enable the zoom in/out function when scrolling mouse wheel</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-disable-enable-the-zoom-in-out-function/m-p/5225#M92</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;When I scroll mouse wheel, map is zoomed in or out.&amp;nbsp; This is a nice feature.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In our application, there are cases that I want this behavior to be active or inactive.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For instance, I add a map into a "tab view".&amp;nbsp; If the tab view is NOT active, and I scroll the mouse wheel, I do not want the map to be zoomed in or out.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If the tab view is active, I want the map to be zoomed in/out when I scroll the mouse wheel.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How can I do this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Apr 2011 14:15:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-disable-enable-the-zoom-in-out-function/m-p/5225#M92</guid>
      <dc:creator>ThaoNguyen</dc:creator>
      <dc:date>2011-04-11T14:15:50Z</dc:date>
    </item>
    <item>
      <title>Re: how to disable/enable the zoom in/out function when scrolling mouse wheel</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-disable-enable-the-zoom-in-out-function/m-p/5226#M93</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;When I scroll mouse wheel, map is zoomed in or out.&amp;nbsp; This is a nice feature.&lt;BR /&gt;In our application, there are cases that I want this behavior to be active or inactive.&lt;BR /&gt;For instance, I add a map into a "tab view".&amp;nbsp; If the tab view is NOT active, and I scroll the mouse wheel, I do not want the map to be zoomed in or out.&lt;BR /&gt;If the tab view is active, I want the map to be zoomed in/out when I scroll the mouse wheel.&lt;BR /&gt;&lt;BR /&gt;How can I do this?&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;To be clear, how can I disable or enable the Arcgis built-in mouse wheel function?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Please let me know if it is doable or not.&amp;nbsp; Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2011 12:35:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-disable-enable-the-zoom-in-out-function/m-p/5226#M93</guid>
      <dc:creator>ThaoNguyen</dc:creator>
      <dc:date>2011-04-14T12:35:56Z</dc:date>
    </item>
    <item>
      <title>Re: how to disable/enable the zoom in/out function when scrolling mouse wheel</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-disable-enable-the-zoom-in-out-function/m-p/5227#M94</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you want to stop any interaction with your map when the tab view is not active, you can set to false the IsHitTestVisible property of your map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Just my 2cts, there is probably more subtil solutions:o&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Apr 2011 07:52:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-disable-enable-the-zoom-in-out-function/m-p/5227#M94</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2011-04-15T07:52:49Z</dc:date>
    </item>
    <item>
      <title>Re: how to disable/enable the zoom in/out function when scrolling mouse wheel</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-disable-enable-the-zoom-in-out-function/m-p/5228#M95</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;If you want to stop any interaction with your map when the tab view is not active, you can set to false the IsHitTestVisible property of your map.&lt;BR /&gt; &lt;BR /&gt;Just my 2cts, there is probably more subtil solutions:o&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This does not work well &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; because my app has a scrollviewer, when setting isHitTestVisible to false, scrolling the mouse wheel while the cursor is on the map does not scroll the window vertical bar and I want it worked as before, only the map zooming function is disabled.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In addition, I think the map was still set focused or something.&amp;nbsp; That is why I ask if there is a way to disable this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Apr 2011 11:23:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-disable-enable-the-zoom-in-out-function/m-p/5228#M95</guid>
      <dc:creator>ThaoNguyen</dc:creator>
      <dc:date>2011-04-15T11:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: how to disable/enable the zoom in/out function when scrolling mouse wheel</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-disable-enable-the-zoom-in-out-function/m-p/5229#M96</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think this is related thread: &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/19079-Disabling-Map-Mouse-Events"&gt;http://forums.arcgis.com/threads/19079-Disabling-Map-Mouse-Events&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Apr 2011 15:39:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-disable-enable-the-zoom-in-out-function/m-p/5229#M96</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2011-04-18T15:39:47Z</dc:date>
    </item>
    <item>
      <title>Re: how to disable/enable the zoom in/out function when scrolling mouse wheel</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-disable-enable-the-zoom-in-out-function/m-p/5230#M97</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I think this is related thread: &lt;A href="http://forums.arcgis.com/threads/19079-Disabling-Map-Mouse-Events"&gt;http://forums.arcgis.com/threads/19079-Disabling-Map-Mouse-Events&lt;/A&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I handled this by setting e.Handled = true in PreviewMouseWheel handler method.&amp;nbsp; That works but I have to give up in making my scroll viewer worked when the cursor is inside the map.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2011 17:38:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-disable-enable-the-zoom-in-out-function/m-p/5230#M97</guid>
      <dc:creator>ThaoNguyen</dc:creator>
      <dc:date>2011-04-26T17:38:21Z</dc:date>
    </item>
  </channel>
</rss>

