<?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: Non-expandable Map Legend object in ArcGIS Viewer for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/non-expandable-map-legend-object/m-p/525189#M1442</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That's a message that appears only in design time Inside Visual Studio.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;However you should be able to compile and run your application despite this message.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Feb 2013 11:25:55 GMT</pubDate>
    <dc:creator>DominiqueBroux</dc:creator>
    <dc:date>2013-02-11T11:25:55Z</dc:date>
    <item>
      <title>Non-expandable Map Legend object</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/non-expandable-map-legend-object/m-p/525188#M1441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have been working Tech Support for this issue for quite some time and it seems to me the analyst just can't find the solution.&amp;nbsp; I am going to give it a shot here.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I created a Legend to control (turn on/off, change Opacity, etc.) the map layers in an app and this Legend works fine.&amp;nbsp; In a test, the Legend works elegantly that each layer inside the Legend can be turned on, off, expanded, and collapsed and changed opacity.&amp;nbsp; However, when this Legend is merged with the app, it stays flat and non-expandable.&amp;nbsp; Because of that I tested this Legend under two test apps created&amp;nbsp; from the ESRI Standard and Showcase silverlight templates (3.0) and surprisingly the Legend does not for those test apps either.&amp;nbsp; There is no complilation errors of any kind.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;From time to time, a warning message will pop up (see attachment) and the message says (let me type it):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[InvalidCastException was thrown on "Legend": Unable to cast object of type 'Microsoft.Expression.DesignModel.DocumentModel.DocumentPrimitiveNode' to type 'Microsoft.Expression.DesignModel.DocumentModel.DocumentCompositeNote'.&amp;nbsp; Clik here for detail. ]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This problem has been sitting there for over a month and it seems like going no where.&amp;nbsp; Any help or pointers here?&amp;nbsp; Thanks in advance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2013 16:44:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/non-expandable-map-legend-object/m-p/525188#M1441</guid>
      <dc:creator>YurongTan</dc:creator>
      <dc:date>2013-02-07T16:44:21Z</dc:date>
    </item>
    <item>
      <title>Re: Non-expandable Map Legend object</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/non-expandable-map-legend-object/m-p/525189#M1442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That's a message that appears only in design time Inside Visual Studio.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;However you should be able to compile and run your application despite this message.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2013 11:25:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/non-expandable-map-legend-object/m-p/525189#M1442</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2013-02-11T11:25:55Z</dc:date>
    </item>
    <item>
      <title>Re: Non-expandable Map Legend object</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/non-expandable-map-legend-object/m-p/525190#M1443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;That's a message that appears only in design time Inside Visual Studio.&lt;BR /&gt;However you should be able to compile and run your application despite this message.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the help and Problem SOLVED.&amp;nbsp; It is the default settings for the legend and once those settings are commented out in the App.xaml, everything goes.&amp;nbsp; Simple&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Apr 2013 03:54:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/non-expandable-map-legend-object/m-p/525190#M1443</guid>
      <dc:creator>YurongTan</dc:creator>
      <dc:date>2013-04-28T03:54:47Z</dc:date>
    </item>
  </channel>
</rss>

