<?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: Draw Object and Focus in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/draw-object-and-focus/m-p/386294#M10035</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can disable draw (draw.IsEnabled=false) on Map.LostFocus and enable draw (draw.IsEnabled=true) on Map.GotFocus. Draw subscribes to these mouse events when activated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Mar 2012 22:33:06 GMT</pubDate>
    <dc:creator>JenniferNery</dc:creator>
    <dc:date>2012-03-16T22:33:06Z</dc:date>
    <item>
      <title>Draw Object and Focus</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/draw-object-and-focus/m-p/386293#M10034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am having a little trouble with the Draw object in a case where the map is used in conjunction with a few other apps in a Docking panel. We have some shared commands that can be executed on any one of the active applications. However, when the Draw object is "active" it does capture all mouse movement and this causes a focus shift from an "active" application to the map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was trying to find a way to "start" the draw mode on something like a mouse down event.. I have tried a few ways to get around this, but it appears that Draw object does the following when enabled:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- Captures the Mouse Events&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Waits for the Mouse down event to start drawing..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think the behavior I am looking for would be more like the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- Wait for mouse down&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Monitor Mouse&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Begin Draw&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; (If it is doing the 2nd sequence, then my issue might be somewhere else :))&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for any ideas..&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2012 13:49:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/draw-object-and-focus/m-p/386293#M10034</guid>
      <dc:creator>KurtisGolding</dc:creator>
      <dc:date>2012-03-16T13:49:55Z</dc:date>
    </item>
    <item>
      <title>Re: Draw Object and Focus</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/draw-object-and-focus/m-p/386294#M10035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can disable draw (draw.IsEnabled=false) on Map.LostFocus and enable draw (draw.IsEnabled=true) on Map.GotFocus. Draw subscribes to these mouse events when activated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2012 22:33:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/draw-object-and-focus/m-p/386294#M10035</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2012-03-16T22:33:06Z</dc:date>
    </item>
    <item>
      <title>Re: Draw Object and Focus</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/draw-object-and-focus/m-p/386295#M10036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the suggestion! I tried a number of different approaches, including toggling the enabled flag on GoFocus/LostFocus events, but so far I have not been successful in getting the behavior I would like in this use case. In this case, I would like focus of the map application to remain un-changed until the map is addressed, in this case, that would be on the mouse down event.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2012 15:06:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/draw-object-and-focus/m-p/386295#M10036</guid>
      <dc:creator>KurtisGolding</dc:creator>
      <dc:date>2012-03-20T15:06:36Z</dc:date>
    </item>
  </channel>
</rss>

