<?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: Legend Layer IDs in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/legend-layer-ids/m-p/260268#M6758</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt; I have a layer set as SchoolZones to work with some of my code and I would like to to display on the legend as "School Zones". Is there a way to set which layer you want to display with the layer IDs and also include and alias on how to display the layers?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;From 3.0, the Layer has a &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/silverlight-api/apiref/ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.Layer~DisplayName.html"&gt;DisplayName &lt;/A&gt;&lt;SPAN&gt;property that can be used for that purpose.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;With previous versions the workaround is to change the LayerItem Label on event Lgend.Refreshed.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Aug 2012 11:22:13 GMT</pubDate>
    <dc:creator>DominiqueBroux</dc:creator>
    <dc:date>2012-08-30T11:22:13Z</dc:date>
    <item>
      <title>Legend Layer IDs</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/legend-layer-ids/m-p/260267#M6757</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;Currently I have my legend setup showing specific layers with the layer IDs but some of the layers it is difficult to have spaces included because of other parts of my code for example. I have a layer set as SchoolZones to work with some of my code and I would like to to display on the legend as "School Zones". Is there a way to set which layer you want to display with the layer IDs and also include and alias on how to display the layers?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2012 21:14:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/legend-layer-ids/m-p/260267#M6757</guid>
      <dc:creator>TanyaOwens</dc:creator>
      <dc:date>2012-08-29T21:14:53Z</dc:date>
    </item>
    <item>
      <title>Re: Legend Layer IDs</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/legend-layer-ids/m-p/260268#M6758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt; I have a layer set as SchoolZones to work with some of my code and I would like to to display on the legend as "School Zones". Is there a way to set which layer you want to display with the layer IDs and also include and alias on how to display the layers?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;From 3.0, the Layer has a &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/silverlight-api/apiref/ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.Layer~DisplayName.html"&gt;DisplayName &lt;/A&gt;&lt;SPAN&gt;property that can be used for that purpose.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;With previous versions the workaround is to change the LayerItem Label on event Lgend.Refreshed.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2012 11:22:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/legend-layer-ids/m-p/260268#M6758</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2012-08-30T11:22:13Z</dc:date>
    </item>
    <item>
      <title>Re: Legend Layer IDs</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/legend-layer-ids/m-p/260269#M6759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;From 3.0, the Layer has a &lt;A href="http://resources.arcgis.com/en/help/silverlight-api/apiref/ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.Layer~DisplayName.html"&gt;DisplayName &lt;/A&gt;property that can be used for that purpose.&lt;BR /&gt;&lt;BR /&gt;With previous versions the workaround is to change the LayerItem Label on event Lgend.Refreshed.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using 2.4 right now (I am waiting for the SL Viewer update before I upgrade). Do you happen to have an example of the LayerItem? I am very new to programming so I am not sure on how to do this. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2012 14:12:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/legend-layer-ids/m-p/260269#M6759</guid>
      <dc:creator>TanyaOwens</dc:creator>
      <dc:date>2012-08-30T14:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: Legend Layer IDs</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/legend-layer-ids/m-p/260270#M6760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I am using 2.4 right now (I am waiting for the SL Viewer update before I upgrade). Do you happen to have an example of the LayerItem? I am very new to programming so I am not sure on how to do this. &lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am thinking about something like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;private void Legend_Refreshed(object sender, Legend.RefreshedEventArgs e) { &amp;nbsp; if (e.LayerItem.Label == "SchoolZones") &amp;nbsp;&amp;nbsp;&amp;nbsp; e.LayerItem.Label = "School Zones" }&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2012 15:46:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/legend-layer-ids/m-p/260270#M6760</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2012-08-30T15:46:07Z</dc:date>
    </item>
    <item>
      <title>Re: Legend Layer IDs</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/legend-layer-ids/m-p/260271#M6761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you so much!!!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2012 17:16:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/legend-layer-ids/m-p/260271#M6761</guid>
      <dc:creator>TanyaOwens</dc:creator>
      <dc:date>2012-08-30T17:16:13Z</dc:date>
    </item>
  </channel>
</rss>

