<?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: Catching Click and Doubleclick events from Feature Layers in ArcGIS Runtime SDK for WPF (Retired) Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/catching-click-and-doubleclick-events-from-feature/m-p/292876#M1449</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;There is GraphicsLayer/FeatureLayer.MouseLeftButtonDown and Map.MouseClick.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So the FeatureLayer gives me only MouseDown events. The Map can give me a Click, but then I have to manually check the feature layers to see which one was clicked. And neither give me a DoubleClick event, since the Map's DoubleClick is a generic WPF event, not an ESRI event, so I don't get the MapPoint's real location, and so I have to massage these different events together to get the functionality I want, which is a shame.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It'd be great if this functionality was added to newer versions of the API.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Avner&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Aug 2011 07:15:09 GMT</pubDate>
    <dc:creator>AvnerKashtan</dc:creator>
    <dc:date>2011-08-30T07:15:09Z</dc:date>
    <item>
      <title>Catching Click and Doubleclick events from Feature Layers</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/catching-click-and-doubleclick-events-from-feature/m-p/292874#M1447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Good morning.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there an established, well-tested way to capture double-click events on Feature Layers on an esri:Map instance? The FeatureLayer object exposes ButtonDown and ButtonUp events, but no Click event, and certainly no DoubleClick. Is there a better way to handle click events other than catching both MouseDown and MouseUp events and making sure the pointer didn't move much, and a better way of handling doubleclicks than keeping a click counter?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Avner&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Aug 2011 09:22:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/catching-click-and-doubleclick-events-from-feature/m-p/292874#M1447</guid>
      <dc:creator>AvnerKashtan</dc:creator>
      <dc:date>2011-08-28T09:22:42Z</dc:date>
    </item>
    <item>
      <title>Re: Catching Click and Doubleclick events from Feature Layers</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/catching-click-and-doubleclick-events-from-feature/m-p/292875#M1448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There is GraphicsLayer/FeatureLayer.MouseLeftButtonDown and Map.MouseClick. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can see these events used in the following samples:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#CustomSymbols"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#CustomSymbols&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#InfoWindowSimple"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#InfoWindowSimple&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2011 00:19:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/catching-click-and-doubleclick-events-from-feature/m-p/292875#M1448</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2011-08-30T00:19:25Z</dc:date>
    </item>
    <item>
      <title>Re: Catching Click and Doubleclick events from Feature Layers</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/catching-click-and-doubleclick-events-from-feature/m-p/292876#M1449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;There is GraphicsLayer/FeatureLayer.MouseLeftButtonDown and Map.MouseClick.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So the FeatureLayer gives me only MouseDown events. The Map can give me a Click, but then I have to manually check the feature layers to see which one was clicked. And neither give me a DoubleClick event, since the Map's DoubleClick is a generic WPF event, not an ESRI event, so I don't get the MapPoint's real location, and so I have to massage these different events together to get the functionality I want, which is a shame.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It'd be great if this functionality was added to newer versions of the API.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Avner&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2011 07:15:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/catching-click-and-doubleclick-events-from-feature/m-p/292876#M1449</guid>
      <dc:creator>AvnerKashtan</dc:creator>
      <dc:date>2011-08-30T07:15:09Z</dc:date>
    </item>
    <item>
      <title>Re: Catching Click and Doubleclick events from Feature Layers</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/catching-click-and-doubleclick-events-from-feature/m-p/292877#M1450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You're right, WPF Control includes MouseDoubleClick event: &lt;/SPAN&gt;&lt;A href="http://msdn.microsoft.com/en-us/library/system.windows.controls.control.mousedoubleclick.aspx"&gt;http://msdn.microsoft.com/en-us/library/system.windows.controls.control.mousedoubleclick.aspx&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Map (also a Control) will inherit this event. You can then transform the screen point to map point and/or use FindHostInGraphicsCoordinates() to get Graphics under the mouse event.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2011 21:13:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/catching-click-and-doubleclick-events-from-feature/m-p/292877#M1450</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2011-08-30T21:13:27Z</dc:date>
    </item>
  </channel>
</rss>

