<?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 Not-working CalloutDefinition button when using touch screen in ArcGIS Runtime SDK for WPF (Retired) Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/not-working-calloutdefinition-button-when-using/m-p/64961#M287</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts. &lt;BR /&gt;We have a problem with using ArcGIS Runtime API for WPF when users&amp;nbsp;uses touch screens to interact with the application.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;We have the custom popup control on the MapView feature layer. We use CalloutDefinition class to set it up. The popup contains button which run some business logic when clicked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Everything works well when users are using mouse to interact with application. However&amp;nbsp;when they using touch-screens and perform "click" with their fingers - the OnButt event is not raised and "ExecuteSomeBusinessLogic" method is not executed (from the user perspective button finger-touched image presented on the screen looks like it was in the "selected" state, not the "clicked" one).&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/423780_2018-10-05_15h18_39.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample code we're using to set-up CalloutDefinition control:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RuntimeImage img = new RuntimeImage(new Uri("pack://application:,,/Images/add.png"));&lt;BR /&gt; calloutDefinition.ButtonImage = img;&lt;BR /&gt; calloutDefinition.OnButt += ExecuteSomeBusinessLogic;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas what may cause this problem? Solution or workarounds to solve it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Oct 2018 13:27:27 GMT</pubDate>
    <dc:creator>PiotrekGaszewski</dc:creator>
    <dc:date>2018-10-05T13:27:27Z</dc:date>
    <item>
      <title>Not-working CalloutDefinition button when using touch screen</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/not-working-calloutdefinition-button-when-using/m-p/64961#M287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts. &lt;BR /&gt;We have a problem with using ArcGIS Runtime API for WPF when users&amp;nbsp;uses touch screens to interact with the application.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;We have the custom popup control on the MapView feature layer. We use CalloutDefinition class to set it up. The popup contains button which run some business logic when clicked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Everything works well when users are using mouse to interact with application. However&amp;nbsp;when they using touch-screens and perform "click" with their fingers - the OnButt event is not raised and "ExecuteSomeBusinessLogic" method is not executed (from the user perspective button finger-touched image presented on the screen looks like it was in the "selected" state, not the "clicked" one).&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/423780_2018-10-05_15h18_39.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample code we're using to set-up CalloutDefinition control:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RuntimeImage img = new RuntimeImage(new Uri("pack://application:,,/Images/add.png"));&lt;BR /&gt; calloutDefinition.ButtonImage = img;&lt;BR /&gt; calloutDefinition.OnButt += ExecuteSomeBusinessLogic;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas what may cause this problem? Solution or workarounds to solve it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2018 13:27:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/not-working-calloutdefinition-button-when-using/m-p/64961#M287</guid>
      <dc:creator>PiotrekGaszewski</dc:creator>
      <dc:date>2018-10-05T13:27:27Z</dc:date>
    </item>
    <item>
      <title>Re: Not-working CalloutDefinition button when using touch screen</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/not-working-calloutdefinition-button-when-using/m-p/64962#M288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Of course, valid code is:&lt;/P&gt;&lt;P&gt;RuntimeImage img = new RuntimeImage(new Uri("pack://application:,,/Images/add.png"));&lt;BR /&gt; calloutDefinition.ButtonImage = img;&lt;BR /&gt; calloutDefinition.OnButtonClick += ExecuteSomeBusinessLogic;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2018 13:29:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/not-working-calloutdefinition-button-when-using/m-p/64962#M288</guid>
      <dc:creator>PiotrekGaszewski</dc:creator>
      <dc:date>2018-10-05T13:29:38Z</dc:date>
    </item>
    <item>
      <title>Re: Not-working CalloutDefinition button when using touch screen</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/not-working-calloutdefinition-button-when-using/m-p/64963#M289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;&lt;A href="https://community.esri.com/migrated-users/307347"&gt;Piotrek Gaszewski&lt;/A&gt;‌, &lt;/STRONG&gt;did you ever find a reason or a solution to this issue? We are experiencing a similar thing with callouts and touch events.&lt;STRONG class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2019 11:56:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/not-working-calloutdefinition-button-when-using/m-p/64963#M289</guid>
      <dc:creator>SkyWatch</dc:creator>
      <dc:date>2019-02-22T11:56:21Z</dc:date>
    </item>
  </channel>
</rss>

