<?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 How to Select Graphics on Map and Unselect any of them later via table/DataGrid ? in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-select-graphics-on-map-and-unselect-any-of/m-p/3688#M67</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am developing an Application using WPF.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My Requirements are:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Select Graphics on Map via Editor --&amp;gt; works fine&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) Show these selected Graphics (Attributes) in a seperate Window (DatGrid, ListBox..whatever --&amp;gt; works fine&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3) Click on Button removes SelectedItem from DataGrid AND Unselects the referenced Graphic on Map !!! This is my Problem !!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How do I have develop the last Part (3) ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I already know how to unselect the Graphic in DataGrid and in Map, but the Editor Event is not fired. That would be important because a lot of Buttons listens to these Events and are disabled / collapsed in some of the states.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I saw an example how to unselect a Graphic with the SELECT Command and the CommandParameter REMOVE, but I can not use it in CodeBehind, right?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; It would be great if it is possible to call something like this --&amp;gt; oEditor.Unselect(MyGraphic);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But the only thing I found is oEditor.ClearSelection.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you have hints for me how to fix the problem ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;best regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thomas&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Aug 2013 11:19:38 GMT</pubDate>
    <dc:creator>ThomasDobrzinski</dc:creator>
    <dc:date>2013-08-15T11:19:38Z</dc:date>
    <item>
      <title>How to Select Graphics on Map and Unselect any of them later via table/DataGrid ?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-select-graphics-on-map-and-unselect-any-of/m-p/3688#M67</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am developing an Application using WPF.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My Requirements are:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Select Graphics on Map via Editor --&amp;gt; works fine&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) Show these selected Graphics (Attributes) in a seperate Window (DatGrid, ListBox..whatever --&amp;gt; works fine&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3) Click on Button removes SelectedItem from DataGrid AND Unselects the referenced Graphic on Map !!! This is my Problem !!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How do I have develop the last Part (3) ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I already know how to unselect the Graphic in DataGrid and in Map, but the Editor Event is not fired. That would be important because a lot of Buttons listens to these Events and are disabled / collapsed in some of the states.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I saw an example how to unselect a Graphic with the SELECT Command and the CommandParameter REMOVE, but I can not use it in CodeBehind, right?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; It would be great if it is possible to call something like this --&amp;gt; oEditor.Unselect(MyGraphic);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But the only thing I found is oEditor.ClearSelection.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you have hints for me how to fix the problem ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;best regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thomas&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Aug 2013 11:19:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-select-graphics-on-map-and-unselect-any-of/m-p/3688#M67</guid>
      <dc:creator>ThomasDobrzinski</dc:creator>
      <dc:date>2013-08-15T11:19:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to Select Graphics on Map and Unselect any of them later via table/DataGrid ?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-select-graphics-on-map-and-unselect-any-of/m-p/3689#M68</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;To "refresh" the Button States in my Ribbon i call&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;OEditor.Select.Execute(null);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So the Buttons get the new states.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That works for me &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;best regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Aug 2013 06:22:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-select-graphics-on-map-and-unselect-any-of/m-p/3689#M68</guid>
      <dc:creator>ThomasDobrzinski</dc:creator>
      <dc:date>2013-08-16T06:22:45Z</dc:date>
    </item>
  </channel>
</rss>

