<?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 Legend Control with only MapTemplate and No sub Layers visible in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/legend-control-with-only-maptemplate-and-no-sub/m-p/378487#M9797</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;How can I use layertemplates to display only the Legend.MapLayerTemplate with the legend control and skip generating the Legend.LayerTemplate and Legend.LegendItemTemplate.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 May 2013 21:37:28 GMT</pubDate>
    <dc:creator>RajaSrinivasan1</dc:creator>
    <dc:date>2013-05-13T21:37:28Z</dc:date>
    <item>
      <title>Legend Control with only MapTemplate and No sub Layers visible</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/legend-control-with-only-maptemplate-and-no-sub/m-p/378487#M9797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;How can I use layertemplates to display only the Legend.MapLayerTemplate with the legend control and skip generating the Legend.LayerTemplate and Legend.LegendItemTemplate.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 May 2013 21:37:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/legend-control-with-only-maptemplate-and-no-sub/m-p/378487#M9797</guid>
      <dc:creator>RajaSrinivasan1</dc:creator>
      <dc:date>2013-05-13T21:37:28Z</dc:date>
    </item>
    <item>
      <title>Re: Legend Control with only MapTemplate and No sub Layers visible</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/legend-control-with-only-maptemplate-and-no-sub/m-p/378488#M9798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you don't want to see the swatches, you can set LegendItemTemplate to null. In this case only layers and sublayers will show up in the legend (&lt;/SPAN&gt;&lt;A href="http://broux.dominique.free.fr/Silverlight/InteractiveSDK/Default.htm#LegendTOC"&gt;example here&lt;/A&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you want to see the sublayers only, you can retemplate the legend control in order to use a listbox instead of a treeview (&lt;/SPAN&gt;&lt;A href="http://broux.dominique.free.fr/Silverlight/InteractiveSDK/Default.htm#LegendSubLayerList"&gt;sample&lt;/A&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you want to see the main layers only, you could also retemplate the legend control with a list box (but in this case the legend has few added value, you could as well use a listbox binded to Map.layers).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 May 2013 06:38:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/legend-control-with-only-maptemplate-and-no-sub/m-p/378488#M9798</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2013-05-14T06:38:17Z</dc:date>
    </item>
    <item>
      <title>Re: Legend Control with only MapTemplate and No sub Layers visible</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/legend-control-with-only-maptemplate-and-no-sub/m-p/378489#M9799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dominique &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the suggestion. I had tried setting both LegendItemTemplate&amp;nbsp; and LayerTemplate to null and had unexpected results. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to do this only for tiled layers within the legend and so, I am afraid it's going to make it look different from others. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I will go ahead and try the listbox option. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 May 2013 19:50:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/legend-control-with-only-maptemplate-and-no-sub/m-p/378489#M9799</guid>
      <dc:creator>RajaSrinivasan1</dc:creator>
      <dc:date>2013-05-14T19:50:35Z</dc:date>
    </item>
  </channel>
</rss>

