<?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: 2.1 RC: Button in LegendItemTemplate removes the symbol. in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/2-1-rc-button-in-legenditemtemplate-removes-the/m-p/471681#M12160</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The template is not "adding" to the other template, but replacing it. You need to also put the SymbolDisplay control in there as well. The easiest way to modify the existing template is doing it through Blend. Right click the control, select to modify additional templates and pick this template.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Dec 2010 19:03:35 GMT</pubDate>
    <dc:creator>dotMorten_esri</dc:creator>
    <dc:date>2010-12-08T19:03:35Z</dc:date>
    <item>
      <title>2.1 RC: Button in LegendItemTemplate removes the symbol.</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/2-1-rc-button-in-legenditemtemplate-removes-the/m-p/471680#M12159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi -&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I add a button the the LegendItemTemplate, I get a button for each legenditem, but the symbol for each legenditem is no longer there.&amp;nbsp; Is there someway to add to the controls already in this datatemplate instead of replacing them?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;&amp;lt;esri:Legend.LegendItemTemplate&amp;gt;
&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;DataTemplate&amp;gt;
&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Button Content="Select"&amp;nbsp; Click="Select_Click"/&amp;gt;
&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/DataTemplate&amp;gt;
&amp;lt;/esri:Legend.LegendItemTemplate&amp;gt;&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Dec 2010 18:50:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/2-1-rc-button-in-legenditemtemplate-removes-the/m-p/471680#M12159</guid>
      <dc:creator>KirkKuykendall</dc:creator>
      <dc:date>2010-12-08T18:50:30Z</dc:date>
    </item>
    <item>
      <title>Re: 2.1 RC: Button in LegendItemTemplate removes the symbol.</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/2-1-rc-button-in-legenditemtemplate-removes-the/m-p/471681#M12160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The template is not "adding" to the other template, but replacing it. You need to also put the SymbolDisplay control in there as well. The easiest way to modify the existing template is doing it through Blend. Right click the control, select to modify additional templates and pick this template.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Dec 2010 19:03:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/2-1-rc-button-in-legenditemtemplate-removes-the/m-p/471681#M12160</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2010-12-08T19:03:35Z</dc:date>
    </item>
  </channel>
</rss>

