<?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: Getting Layers within a GroupLayer that contains other GroupLayers in ArcGIS Runtime SDK for WPF (Retired) Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/getting-layers-within-a-grouplayer-that-contains/m-p/65902#M293</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Scratch that last comment Dom,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems to be working as it should.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Oct 2014 14:14:57 GMT</pubDate>
    <dc:creator>ChristopherMcCafferty</dc:creator>
    <dc:date>2014-10-17T14:14:57Z</dc:date>
    <item>
      <title>Getting Layers within a GroupLayer that contains other GroupLayers</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/getting-layers-within-a-grouplayer-that-contains/m-p/65899#M290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;I was wondering if someone can help me out. I am trying to search for a certain layer using the ID property but my map contains many different types of Layers.&lt;/P&gt;&lt;P&gt;Here is a small diagram I have quickly made up to help explain what I am trying to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;GroupLayerOne&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3334ca;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ChildLayerOne&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3334ca;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ChildLayerTwo&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;GroupLayerTwo&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3334ca;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ChildGroupLayerOne&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #e23d39;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LayerOne&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #e23d39;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LayerTwo&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #e23d39;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LayerThree&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3334ca;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ChildLayerThree&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;GraphicsLayer&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to think of a easy way of searching through all these layers to find the one I want. I been toying around with trying to do it myself but I was wondering if the ESRI SDK had some functionailty that would make this easier.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any advice/help appericated guys.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2014 11:31:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/getting-layers-within-a-grouplayer-that-contains/m-p/65899#M290</guid>
      <dc:creator>ChristopherMcCafferty</dc:creator>
      <dc:date>2014-10-17T11:31:49Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Layers within a GroupLayer that contains other GroupLayers</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/getting-layers-within-a-grouplayer-that-contains/m-p/65900#M291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use EnumerateAllLayers or EnumerateLeaves defined on FeatureCollection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something like:&lt;/P&gt;&lt;P&gt;  foreach(var layer in MyMapView.Map.Layers.EnumerateLeaves())&lt;/P&gt;&lt;P&gt;    .....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2014 11:38:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/getting-layers-within-a-grouplayer-that-contains/m-p/65900#M291</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2014-10-17T11:38:04Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Layers within a GroupLayer that contains other GroupLayers</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/getting-layers-within-a-grouplayer-that-contains/m-p/65901#M292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply Dom,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For some reason I cannot access this function via the Layers property.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its a function thats part of the GroupLayerBase class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var trees = GroupLayerBase.EnumerateLeaves(_map.Layers);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the tree variable has null layers after its called this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2014 14:11:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/getting-layers-within-a-grouplayer-that-contains/m-p/65901#M292</guid>
      <dc:creator>ChristopherMcCafferty</dc:creator>
      <dc:date>2014-10-17T14:11:57Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Layers within a GroupLayer that contains other GroupLayers</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/getting-layers-within-a-grouplayer-that-contains/m-p/65902#M293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Scratch that last comment Dom,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems to be working as it should.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2014 14:14:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/getting-layers-within-a-grouplayer-that-contains/m-p/65902#M293</guid>
      <dc:creator>ChristopherMcCafferty</dc:creator>
      <dc:date>2014-10-17T14:14:57Z</dc:date>
    </item>
  </channel>
</rss>

