<?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: Propblems with Editor using MVVM approach in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/propblems-with-editor-using-mvvm-approach/m-p/635650#M16355</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Does it work if you set the mode to SnapShot?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Jun 2010 21:51:52 GMT</pubDate>
    <dc:creator>dotMorten_esri</dc:creator>
    <dc:date>2010-06-21T21:51:52Z</dc:date>
    <item>
      <title>Propblems with Editor using MVVM approach</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/propblems-with-editor-using-mvvm-approach/m-p/635649#M16354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am having an issue getting a selection to show up properly on a map while having the Editor commands refresh correctly. I have created a ViewModel that has a Property exposing a LayerCollection. &lt;/SPAN&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;Public Class LayerViewModel
&amp;nbsp;&amp;nbsp;&amp;nbsp; Private _layerCollection As New ESRI.ArcGIS.Client.LayerCollection
&amp;nbsp;&amp;nbsp;&amp;nbsp; Private WithEvents _selectionLayer As ESRI.ArcGIS.Client.FeatureLayer

&amp;nbsp;&amp;nbsp;&amp;nbsp; Sub New()
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CreateLayerCollection()
&amp;nbsp;&amp;nbsp;&amp;nbsp; End Sub

&amp;nbsp;&amp;nbsp; &lt;SPAN style="color:&amp;quot;Red&amp;quot;;"&gt; Public ReadOnly Property ViewableLayers As ESRI.ArcGIS.Client.LayerCollection
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Get
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Return _layerCollection
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End Get
&amp;nbsp;&amp;nbsp;&amp;nbsp; End Property&lt;/SPAN&gt;

&amp;nbsp;&amp;nbsp;&amp;nbsp; Public Sub ClearSelectionLayer()
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; For Each feature In _selectionLayer.SelectedGraphics.ToList
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; feature.UnSelect()
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Next
&amp;nbsp;&amp;nbsp;&amp;nbsp; End Sub

&amp;nbsp;&amp;nbsp;&amp;nbsp; Private Function CreateLayerCollection()

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _layerCollection.Add(New ESRI.ArcGIS.Client.ArcGISDynamicMapServiceLayer With {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .ID = "Parcels",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .Url = "http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer"})


&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _selectionLayer = New ESRI.ArcGIS.Client.FeatureLayer With {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .ID = "Selection",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .Url = "http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer/0",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .Mode = ESRI.ArcGIS.Client.FeatureLayer.QueryMode.SelectionOnly}


&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _layerCollection.Add(_selectionLayer)

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Return (_layerCollection)
&amp;nbsp;&amp;nbsp;&amp;nbsp; End Function

End Class
&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt; I bind the Map controlâ??s Layers Dependency Property to this my ViewModel property.&lt;/SPAN&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:Map x:Name="MyMap"&lt;SPAN style="color:&amp;quot;Red&amp;quot;;"&gt; Layers="{Binding ViewableLayers}"&amp;nbsp; &lt;/SPAN&gt;Extent="-117.19034671783447,34.051488876211806,-117.16030597686768,34.07294654833095" &amp;gt;

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/esri:Map&amp;gt;&lt;/PRE&gt;&lt;SPAN&gt; When I run the app and do a select no selected features are visible however the Remove and Clear buttons become enabled. When I uncomment the highlighted line of code below in my Views Code behind the selection shows up now but the Remove and Clear buttons do not enable. Can one explain why I am getting this behavior? I have modified the sample code from the Feature Layer Selection to include my new ViewModel approach &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#FeatureLayerSelection" rel="nofollow noopener noreferrer" target="_blank"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#FeatureLayerSelection&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;Class MainWindow
&amp;nbsp;&amp;nbsp;&amp;nbsp; Public WithEvents MyEditor As New ESRI.ArcGIS.Client.Editor

&amp;nbsp;&amp;nbsp;&amp;nbsp; Private vm As New LayerViewModel

&amp;nbsp;&amp;nbsp;&amp;nbsp; Sub New()
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Resources.Add("MyEditor", MyEditor)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Me.DataContext = vm

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ' This call is required by the designer.
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; InitializeComponent()


&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ' Add any initialization after the InitializeComponent() call.


&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EditorToolStrip.DataContext = MyEditor
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MyEditor.Map = MyMap

&amp;nbsp;&amp;nbsp;&amp;nbsp; End Sub

&amp;nbsp;&amp;nbsp;&amp;nbsp; Private Sub MyEditor_EditCompleted(ByVal sender As Object, ByVal e As ESRI.ArcGIS.Client.Editor.EditEventArgs) Handles MyEditor.EditCompleted
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG style=": ; color: &amp;quot;Red&amp;quot;; font-size: &amp;quot;3&amp;quot;;"&gt; vm.ClearSelectionLayer()&lt;/STRONG&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; End Sub
End Class&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 03:01:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/propblems-with-editor-using-mvvm-approach/m-p/635649#M16354</guid>
      <dc:creator>MikeKaufman</dc:creator>
      <dc:date>2021-12-12T03:01:54Z</dc:date>
    </item>
    <item>
      <title>Re: Propblems with Editor using MVVM approach</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/propblems-with-editor-using-mvvm-approach/m-p/635650#M16355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Does it work if you set the mode to SnapShot?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jun 2010 21:51:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/propblems-with-editor-using-mvvm-approach/m-p/635650#M16355</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2010-06-21T21:51:52Z</dc:date>
    </item>
    <item>
      <title>Re: Propblems with Editor using MVVM approach</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/propblems-with-editor-using-mvvm-approach/m-p/635651#M16356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Does it work if you set the mode to SnapShot?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;No, it actually stops working completely.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I messed around a little more an found when I implement the code below on the EditCompleted event the editor buttons get the correct state and the selection is visible.&amp;nbsp; This however puts the graphics a selected state thus getting a the selected symbol.&amp;nbsp; And nothing is visible if only one graphic is selected.&amp;nbsp; It seems that commands behind remove and clear need at least one graphics selected to work in MVVM.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; For Each feature As Graphic In _selectionLayer.Graphics.ToList
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; feature.UnSelect()
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; feature.Select()
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Next&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 03:01:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/propblems-with-editor-using-mvvm-approach/m-p/635651#M16356</guid>
      <dc:creator>MikeKaufman</dc:creator>
      <dc:date>2021-12-12T03:01:56Z</dc:date>
    </item>
    <item>
      <title>Re: Propblems with Editor using MVVM approach</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/propblems-with-editor-using-mvvm-approach/m-p/635652#M16357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Note that EditCompleted might fire a little more often than you think it will (like when the do a selection). Are you sure you always want to clear selection no matter what e.Action is?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jun 2010 19:30:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/propblems-with-editor-using-mvvm-approach/m-p/635652#M16357</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2010-06-22T19:30:56Z</dc:date>
    </item>
    <item>
      <title>Re: Propblems with Editor using MVVM approach</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/propblems-with-editor-using-mvvm-approach/m-p/635653#M16358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Note that EditCompleted might fire a little more often than you think it will (like when the do a selection). Are you sure you always want to clear selection no matter what e.Action is?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;That was just the first thing I tried.&amp;nbsp; I placed a button to fire the work around code now but it still does not resolve the odd behavior.&amp;nbsp; I will get a very simple solution demonstrating it and post the link as soon as I can.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jun 2010 20:41:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/propblems-with-editor-using-mvvm-approach/m-p/635653#M16358</guid>
      <dc:creator>MikeKaufman</dc:creator>
      <dc:date>2010-06-22T20:41:01Z</dc:date>
    </item>
    <item>
      <title>Re: Propblems with Editor using MVVM approach</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/propblems-with-editor-using-mvvm-approach/m-p/635654#M16359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks. A sample to repro this would be nice. Btw. note that 2.0RC was released today, so make sure it's still an issue with that release.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jun 2010 23:58:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/propblems-with-editor-using-mvvm-approach/m-p/635654#M16359</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2010-06-22T23:58:11Z</dc:date>
    </item>
    <item>
      <title>Re: Propblems with Editor using MVVM approach</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/propblems-with-editor-using-mvvm-approach/m-p/635655#M16360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;OK here is the sample project demonstrating the odd behavior. &lt;/SPAN&gt;&lt;A href="http://cid-4cf0e82cc2054ef1.office.live.com/self.aspx/Public%20Code"&gt;http://cid-4cf0e82cc2054ef1.office.live.com/self.aspx/Public%20Code&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There are 3 examples&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. An implemented MVVM pattern to generate the layers and do selection (top)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2.&amp;nbsp; A converted ESRI example to vb WPF&amp;nbsp; that works great (bottom left)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3.&amp;nbsp; A converted ESRI example to vb WPF&amp;nbsp; that removed the defined symbol from the sample (bottom right)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One thing that I am noticing in while doing my dev and this example is if I don't unselect the graphics I can't click to select them.&amp;nbsp; Just another little add thing I have noticed.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jun 2010 15:36:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/propblems-with-editor-using-mvvm-approach/m-p/635655#M16360</guid>
      <dc:creator>MikeKaufman</dc:creator>
      <dc:date>2010-06-23T15:36:53Z</dc:date>
    </item>
    <item>
      <title>Re: Propblems with Editor using MVVM approach</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/propblems-with-editor-using-mvvm-approach/m-p/635656#M16361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the very nice repro.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The issue is that you never set a renderer on your FeatureLayer. Since you are hitting a 9.3.1 server, symbology is not automatically returned to the client (with v10.x not setting the renderer will default to the service's symbology).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In LayerViewModel.vb add:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;_selectionLayer.Renderer = &lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;New&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN style="color:#2b91af;"&gt;SimpleRenderer&lt;/SPAN&gt;&lt;SPAN&gt;() &lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;With&lt;/SPAN&gt;&lt;SPAN&gt; {.Symbol = &lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;New&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN style="color:#2b91af;"&gt;SimpleMarkerSymbol&lt;/SPAN&gt;&lt;SPAN&gt;()}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So bottom line is that as far as I can tell, everything is working as expected, but since there's no symbol to render your layer with, you won't see anything.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jun 2010 17:07:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/propblems-with-editor-using-mvvm-approach/m-p/635656#M16361</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2010-06-23T17:07:38Z</dc:date>
    </item>
    <item>
      <title>Re: Propblems with Editor using MVVM approach</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/propblems-with-editor-using-mvvm-approach/m-p/635657#M16362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Thanks for the very nice repro.&lt;BR /&gt;The issue is that you never set a renderer on your FeatureLayer. Since you are hitting a 9.3.1 server, symbology is not automatically returned to the client (with v10.x not setting the renderer will default to the service's symbology).&lt;BR /&gt; &lt;BR /&gt;In LayerViewModel.vb add:&lt;BR /&gt;_selectionLayer.Renderer = &lt;SPAN style="color:blue;"&gt;New&lt;/SPAN&gt; &lt;SPAN style="color:#2b91af;"&gt;SimpleRenderer&lt;/SPAN&gt;() &lt;SPAN style="color:blue;"&gt;With&lt;/SPAN&gt; {.Symbol = &lt;SPAN style="color:blue;"&gt;New&lt;/SPAN&gt; &lt;SPAN style="color:#2b91af;"&gt;SimpleMarkerSymbol&lt;/SPAN&gt;()}&lt;BR /&gt; &lt;BR /&gt;So bottom line is that as far as I can tell, everything is working as expected, but since there's no symbol to render your layer with, you won't see anything.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That works great to get my original issue solved dealing with not being able to see the returned graphics.&amp;nbsp; But now it has brought up another issue on how I might be going about selecting graphics.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I set the Renderer the highlight color gets ignored.&amp;nbsp; As I move my code away from the work around I was using to the Renderer I lose my highlighted graphics color.&amp;nbsp; I am doing something very similar to the graphics selection example when selecting the states.&amp;nbsp; When the state graphics are return the graphics and the feature datagird highlighting is synchronized between the two.&amp;nbsp; I rely on knowing what the highlighted items are in order to do that same synchronization elsewhere in my app.&amp;nbsp; I also need to see what is highlighted.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think I am just going to have to go back to square one and really understand the differences and benefits of using the editor for selection or a query task.&amp;nbsp; Right now I think I will need to use query tasks so I can gain more control over the behavior.&amp;nbsp; Thanks for you help &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jun 2010 15:12:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/propblems-with-editor-using-mvvm-approach/m-p/635657#M16362</guid>
      <dc:creator>MikeKaufman</dc:creator>
      <dc:date>2010-06-24T15:12:16Z</dc:date>
    </item>
  </channel>
</rss>

