<?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/854742#M72</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 to connect Events in C# to graphical objects e.g. Simple Marker Symbol or Poly Line?&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 main purpose is to move such objects I made myself.&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 following code I found does not work, please see error message in las 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;&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;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:32:47 GMT</pubDate>
    <dc:creator>AndréGrce</dc:creator>
    <dc:date>2020-09-04T09:32:47Z</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/854742#M72</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 to connect Events in C# to graphical objects e.g. Simple Marker Symbol or Poly Line?&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 main purpose is to move such objects I made myself.&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 following code I found does not work, please see error message in las 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;&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;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:32:47 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/854742#M72</guid>
      <dc:creator>AndréGrce</dc:creator>
      <dc:date>2020-09-04T09:32:47Z</dc:date>
    </item>
  </channel>
</rss>

