<?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: Make maptip values conditional in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/make-maptip-values-conditional/m-p/379600#M9830</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You could use a Visibility type converter and bind the stackpanel visibility to it, there is an example in this blog &lt;/SPAN&gt;&lt;A href="http://www.jeff.wilcox.name/2008/07/visibility-type-converter/"&gt;http://www.jeff.wilcox.name/2008/07/visibility-type-converter/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 21 Apr 2013 20:05:09 GMT</pubDate>
    <dc:creator>DaveTimmins</dc:creator>
    <dc:date>2013-04-21T20:05:09Z</dc:date>
    <item>
      <title>Make maptip values conditional</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/make-maptip-values-conditional/m-p/379599#M9829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is it possible to make the presentation of maptip values conditional? For example a portion of my maptip contains this code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;&amp;lt;StackPanel Orientation="Horizontal"&amp;gt;
 &amp;lt;TextBlock Text="NO2 - " Foreground="Black" /&amp;gt;
 &amp;lt;TextBlock Text="{Binding [NOX]}" Foreground="Black" /&amp;gt;
&amp;lt;/StackPanel&amp;gt;&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;SPAN&gt;The value of NOX will be text either "Yes" or "No". I want the contents of this stackpanel to be visible only if the NOX value is "Yes". If the value is "No", I want the entire stackpanel to be hidden. Does anyone know of a way to accomplish this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Apr 2013 16:35:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/make-maptip-values-conditional/m-p/379599#M9829</guid>
      <dc:creator>DonFreeman</dc:creator>
      <dc:date>2013-04-19T16:35:56Z</dc:date>
    </item>
    <item>
      <title>Re: Make maptip values conditional</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/make-maptip-values-conditional/m-p/379600#M9830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You could use a Visibility type converter and bind the stackpanel visibility to it, there is an example in this blog &lt;/SPAN&gt;&lt;A href="http://www.jeff.wilcox.name/2008/07/visibility-type-converter/"&gt;http://www.jeff.wilcox.name/2008/07/visibility-type-converter/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Apr 2013 20:05:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/make-maptip-values-conditional/m-p/379600#M9830</guid>
      <dc:creator>DaveTimmins</dc:creator>
      <dc:date>2013-04-21T20:05:09Z</dc:date>
    </item>
  </channel>
</rss>

