<?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 Create event in C# from ArcGis Poly-lines in .NET and the Esri JavaScript API Questions</title>
    <link>https://community.esri.com/t5/net-and-the-esri-javascript-api-questions/create-event-in-c-from-arcgis-poly-lines/m-p/862154#M73</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="text-indent: 0px; text-decoration: none; margin: 0cm; font-size: 11pt; color: #000000;"&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;How do I create an event for graphical objects, e.g. Simple Marker Symbols or Poly Lines?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-indent: 0px; text-decoration: none; margin: 0cm; font-size: 11pt; color: #000000;"&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;The purpose is to mark them and move them.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-indent: 0px; text-decoration: none; margin: 0cm; font-size: 11pt; color: #000000;"&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;This method does not work for me, please see error message in the last 5 rows:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-indent: 0px; text-decoration: none; margin: 0cm; font-size: 11pt; color: #000000;"&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;Esri.ArcGISRuntime.UI.Graphic aGraphic = &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: blue;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt; Esri.ArcGISRuntime.UI.Graphic();&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-indent: 0px; text-decoration: none; margin: 0cm; font-size: 11pt; color: #000000;"&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;aGraphic.MouseRightButtonDown += Graphic_MouseRightButtonDown;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-indent: 0px; text-decoration: none; margin: 0cm; font-size: 11pt; color: #000000;"&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-indent: 0px; text-decoration: none; margin: 0cm; font-size: 11pt; color: #000000;"&gt;&lt;SPAN style="font-size: 9.5pt; color: blue;"&gt;void&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt; Graphic_MouseRightButtonDown(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: blue;"&gt;object&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;sender, System.Windows.Input.MouseButtonEventArgs e)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-indent: 0px; text-decoration: none; margin: 0cm; font-size: 11pt; color: #000000;"&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;{ &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-indent: 0px; text-decoration: none; margin: 0cm; font-size: 11pt; color: #000000;"&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Do something&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-indent: 0px; text-decoration: none; margin: 0cm; font-size: 11pt; color: #000000;"&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-indent: 0px; text-decoration: none; margin: 0cm; font-size: 11pt; color: #000000;"&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-indent: 0px; text-decoration: none; margin: 0cm; font-size: 11pt; color: #000000;"&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Severity Code&amp;nbsp;&amp;nbsp;&amp;nbsp; Description Project File Line&amp;nbsp;&amp;nbsp;&amp;nbsp; Suppression State&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-indent: 0px; text-decoration: none; margin: 0cm 0cm 0cm 65.2pt; font-size: 11pt; color: #000000;"&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;Error CS1061&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: #a31515;"&gt;'Graphic'&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt; does not contain a definition &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: blue;"&gt;for&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: #a31515;"&gt;'MouseRightButtonDown'&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt; and no accessible extension method &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: #a31515;"&gt;'MouseRightButtonDown'&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;accepting a first argument of type &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: #a31515;"&gt;'Graphic'&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt; could be found(are you missing a &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: blue;"&gt;using&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;directive or an assembly reference ?)&amp;nbsp;&amp;nbsp;&amp;nbsp; AccessOptimizer C:\Users\matti\Desktop\ArcGISApp\ArcGISApp\MapWindow.xaml.cs&amp;nbsp;&amp;nbsp;&amp;nbsp; 219 Active&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Sep 2020 09:24:31 GMT</pubDate>
    <dc:creator>AndréGrce</dc:creator>
    <dc:date>2020-09-04T09:24:31Z</dc:date>
    <item>
      <title>Create event in C# from ArcGis Poly-lines</title>
      <link>https://community.esri.com/t5/net-and-the-esri-javascript-api-questions/create-event-in-c-from-arcgis-poly-lines/m-p/862154#M73</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="text-indent: 0px; text-decoration: none; margin: 0cm; font-size: 11pt; color: #000000;"&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;How do I create an event for graphical objects, e.g. Simple Marker Symbols or Poly Lines?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-indent: 0px; text-decoration: none; margin: 0cm; font-size: 11pt; color: #000000;"&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;The purpose is to mark them and move them.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-indent: 0px; text-decoration: none; margin: 0cm; font-size: 11pt; color: #000000;"&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;This method does not work for me, please see error message in the last 5 rows:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-indent: 0px; text-decoration: none; margin: 0cm; font-size: 11pt; color: #000000;"&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;Esri.ArcGISRuntime.UI.Graphic aGraphic = &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: blue;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt; Esri.ArcGISRuntime.UI.Graphic();&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-indent: 0px; text-decoration: none; margin: 0cm; font-size: 11pt; color: #000000;"&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;aGraphic.MouseRightButtonDown += Graphic_MouseRightButtonDown;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-indent: 0px; text-decoration: none; margin: 0cm; font-size: 11pt; color: #000000;"&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-indent: 0px; text-decoration: none; margin: 0cm; font-size: 11pt; color: #000000;"&gt;&lt;SPAN style="font-size: 9.5pt; color: blue;"&gt;void&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt; Graphic_MouseRightButtonDown(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: blue;"&gt;object&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;sender, System.Windows.Input.MouseButtonEventArgs e)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-indent: 0px; text-decoration: none; margin: 0cm; font-size: 11pt; color: #000000;"&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;{ &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-indent: 0px; text-decoration: none; margin: 0cm; font-size: 11pt; color: #000000;"&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Do something&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-indent: 0px; text-decoration: none; margin: 0cm; font-size: 11pt; color: #000000;"&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-indent: 0px; text-decoration: none; margin: 0cm; font-size: 11pt; color: #000000;"&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-indent: 0px; text-decoration: none; margin: 0cm; font-size: 11pt; color: #000000;"&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Severity Code&amp;nbsp;&amp;nbsp;&amp;nbsp; Description Project File Line&amp;nbsp;&amp;nbsp;&amp;nbsp; Suppression State&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-indent: 0px; text-decoration: none; margin: 0cm 0cm 0cm 65.2pt; font-size: 11pt; color: #000000;"&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;Error CS1061&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: #a31515;"&gt;'Graphic'&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt; does not contain a definition &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: blue;"&gt;for&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: #a31515;"&gt;'MouseRightButtonDown'&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt; and no accessible extension method &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: #a31515;"&gt;'MouseRightButtonDown'&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;accepting a first argument of type &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: #a31515;"&gt;'Graphic'&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt; could be found(are you missing a &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: blue;"&gt;using&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;directive or an assembly reference ?)&amp;nbsp;&amp;nbsp;&amp;nbsp; AccessOptimizer C:\Users\matti\Desktop\ArcGISApp\ArcGISApp\MapWindow.xaml.cs&amp;nbsp;&amp;nbsp;&amp;nbsp; 219 Active&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Sep 2020 09:24:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-and-the-esri-javascript-api-questions/create-event-in-c-from-arcgis-poly-lines/m-p/862154#M73</guid>
      <dc:creator>AndréGrce</dc:creator>
      <dc:date>2020-09-04T09:24:31Z</dc:date>
    </item>
    <item>
      <title>Re: Create event in C# from ArcGis Poly-lines</title>
      <link>https://community.esri.com/t5/net-and-the-esri-javascript-api-questions/create-event-in-c-from-arcgis-poly-lines/m-p/862155#M74</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The errors you have are not ArcGIS errors.. they are indicative of missing handlers that are expected per your code.&lt;/P&gt;&lt;P&gt;What you are trying to do may be achieved with sample code here - https://developers.arcgis.com/net/latest/uwp/api-reference/html/T_Esri_ArcGISRuntime_Geometry_Polyline.htm&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Sep 2020 09:16:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-and-the-esri-javascript-api-questions/create-event-in-c-from-arcgis-poly-lines/m-p/862155#M74</guid>
      <dc:creator>HarishPalaniappan</dc:creator>
      <dc:date>2020-09-11T09:16:06Z</dc:date>
    </item>
  </channel>
</rss>

