<?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: Layer Reorder in TOC  and Map layers in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/layer-reorder-in-toc-nbsp-and-map-layers/m-p/102386#M2583</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;1) It's not possible to reorder the sublayers coming from a dynamic map service layer, so you won't be able to reorder your 10 layers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) To reorder the main layers (i.e. your dynamic map service layer, your feature layer and your couple of graphic layers, you have to reorder the LayerCollection Map.Layers. I don't think it's possible to directly move a layer inside a LayerCollection but Remove + Insert(index) should make the job.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Jun 2010 14:03:46 GMT</pubDate>
    <dc:creator>DominiqueBroux</dc:creator>
    <dc:date>2010-06-24T14:03:46Z</dc:date>
    <item>
      <title>Layer Reorder in TOC  and Map layers</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/layer-reorder-in-toc-nbsp-and-map-layers/m-p/102385#M2582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello All&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have already posted a question but I did not get a favourable results.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have TOC which is similar to ESRI sample. Just a List box which binds visible layer list. All I wanted, I want to drag and drop the layer in TOC and map layer should reordered accordingly. In my xaml, I have one dynamic map service layer with 10 layers , a feature layer and couple of graphic layers. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying reorder them in TOC and map should change the layer order accordingly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How to achieve this?. Real quick help is required.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This thread &lt;/SPAN&gt;&lt;A href="http://forums.esri.com/Thread.asp?c=158&amp;amp;f=2455&amp;amp;t=301023&amp;amp;mc=1"&gt;http://forums.esri.com/Thread.asp?c=158&amp;amp;f=2455&amp;amp;t=301023&amp;amp;mc=1&lt;/A&gt;&lt;SPAN&gt;, does not helped me in great.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SR&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jun 2010 10:44:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/layer-reorder-in-toc-nbsp-and-map-layers/m-p/102385#M2582</guid>
      <dc:creator>LakshmananVenkatesan</dc:creator>
      <dc:date>2010-06-24T10:44:21Z</dc:date>
    </item>
    <item>
      <title>Re: Layer Reorder in TOC  and Map layers</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/layer-reorder-in-toc-nbsp-and-map-layers/m-p/102386#M2583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;1) It's not possible to reorder the sublayers coming from a dynamic map service layer, so you won't be able to reorder your 10 layers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) To reorder the main layers (i.e. your dynamic map service layer, your feature layer and your couple of graphic layers, you have to reorder the LayerCollection Map.Layers. I don't think it's possible to directly move a layer inside a LayerCollection but Remove + Insert(index) should make the job.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jun 2010 14:03:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/layer-reorder-in-toc-nbsp-and-map-layers/m-p/102386#M2583</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2010-06-24T14:03:46Z</dc:date>
    </item>
  </channel>
</rss>

