<?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: Using the mouse event handling in mvvm while maintaining default shortcut keys in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/using-the-mouse-event-handling-in-mvvm-while/m-p/145604#M3668</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i think this will help you &lt;/P&gt;&lt;P&gt;e.Handled = true;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Apr 2015 06:24:34 GMT</pubDate>
    <dc:creator>Asgharkhan</dc:creator>
    <dc:date>2015-04-29T06:24:34Z</dc:date>
    <item>
      <title>Using the mouse event handling in mvvm while maintaining default shortcut keys</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/using-the-mouse-event-handling-in-mvvm-while/m-p/145600#M3664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Gurus!&lt;/P&gt;&lt;P&gt;When I try to use mouse event handlers&amp;nbsp; (mouse click and mouse move handlers) in silverlight application default shortcut keys for zooming operation (&lt;SPAN style="color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11.1999998092651px; background-color: #f7f7ff;"&gt;Left mouse + Sthif Key + Drag&lt;/SPAN&gt;)&amp;nbsp;&amp;nbsp; do not work. How to fix?&lt;/P&gt;&lt;H1 style="font-size: 26px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;/H1&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Apr 2015 14:44:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/using-the-mouse-event-handling-in-mvvm-while/m-p/145600#M3664</guid>
      <dc:creator>AnatoliiTerentiev</dc:creator>
      <dc:date>2015-04-13T14:44:35Z</dc:date>
    </item>
    <item>
      <title>Re: Using the mouse event handling in mvvm while maintaining default shortcut keys</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/using-the-mouse-event-handling-in-mvvm-while/m-p/145601#M3665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I solved the problem by replacing MouseButtonEventHandler on MouseClick event handler. It was so:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="c#" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14289932873277578 jive_text_macro" data-renderedposition="50_8_900_16" jivemacro_uid="_14289932873277578"&gt;&lt;P&gt;myMap.MouseLeftButtonDown += new MouseButtonEventHandler(Map_MouseClick);&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and now I did so:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="c#" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14289933353258710 jive_text_macro" data-renderedposition="129_8_900_16" jivemacro_uid="_14289933353258710"&gt;&lt;P&gt;myMap.MouseClick += new EventHandler&amp;lt;Map.MouseEventArgs&amp;gt;(Map_MouseClick);&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and all works fine,&lt;SPAN style="line-height: 1.5;"&gt;&amp;nbsp; but it is interesting how to use the first MouseLeftButtonDown event?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Apr 2015 06:37:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/using-the-mouse-event-handling-in-mvvm-while/m-p/145601#M3665</guid>
      <dc:creator>AnatoliiTerentiev</dc:creator>
      <dc:date>2015-04-14T06:37:51Z</dc:date>
    </item>
    <item>
      <title>Re: Using the mouse event handling in mvvm while maintaining default shortcut keys</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/using-the-mouse-event-handling-in-mvvm-while/m-p/145602#M3666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;OL class="dp-c" start="1" style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: #5c5c5c; margin-bottom: 1px !important; margin-left: 45px !important;"&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; background-color: inherit;"&gt;myMap.MouseClick += &lt;/SPAN&gt;&lt;SPAN class="keyword" style="font-weight: inherit; font-style: inherit; color: #006699; font-size: 9pt !important; background-color: inherit;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt !important; background-color: inherit;"&gt; EventHandler&amp;lt;Map.MouseEventArgs&amp;gt;(Map_MouseLeftButtonDown);&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="background-color: inherit; color: black; font-weight: inherit; font-size: 9pt !important; font-style: inherit;"&gt;Not Check but this should work&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2015 05:05:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/using-the-mouse-event-handling-in-mvvm-while/m-p/145602#M3666</guid>
      <dc:creator>Asgharkhan</dc:creator>
      <dc:date>2015-04-15T05:05:09Z</dc:date>
    </item>
    <item>
      <title>Re: Using the mouse event handling in mvvm while maintaining default shortcut keys</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/using-the-mouse-event-handling-in-mvvm-while/m-p/145603#M3667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I noticed that on the one-click event handler is called 2 times. What may be the reason and how to fix?&lt;/P&gt;&lt;P&gt;This is the code in the ViewModel:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;myMap.MouseClick += new EventHandler&amp;lt;Map.MouseEventArgs&amp;gt;(Map_MouseClick);&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt; private void Map_MouseClick(object sender, ESRI.ArcGIS.Client.Map.MouseEventArgs e)
{
 }&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 07:57:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/using-the-mouse-event-handling-in-mvvm-while/m-p/145603#M3667</guid>
      <dc:creator>AnatoliiTerentiev</dc:creator>
      <dc:date>2021-12-11T07:57:28Z</dc:date>
    </item>
    <item>
      <title>Re: Using the mouse event handling in mvvm while maintaining default shortcut keys</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/using-the-mouse-event-handling-in-mvvm-while/m-p/145604#M3668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i think this will help you &lt;/P&gt;&lt;P&gt;e.Handled = true;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2015 06:24:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/using-the-mouse-event-handling-in-mvvm-while/m-p/145604#M3668</guid>
      <dc:creator>Asgharkhan</dc:creator>
      <dc:date>2015-04-29T06:24:34Z</dc:date>
    </item>
    <item>
      <title>Re: Using the mouse event handling in mvvm while maintaining default shortcut keys</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/using-the-mouse-event-handling-in-mvvm-while/m-p/145605#M3669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did not help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2015 06:39:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/using-the-mouse-event-handling-in-mvvm-while/m-p/145605#M3669</guid>
      <dc:creator>AnatoliiTerentiev</dc:creator>
      <dc:date>2015-04-29T06:39:30Z</dc:date>
    </item>
  </channel>
</rss>

