<?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: Disable Legend Check Box For FeatureLayer (No IsInScaleRange)? in ArcGIS Runtime SDK for WPF (Retired) Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/disable-legend-check-box-for-featurelayer-no/m-p/370562#M1839</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Ryan,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It seems it's a bug. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LayerItemViewModel.IsInScaleRange and LayerItemViewModel.IsVisible are not taking care of the scales set in the service when 'IgnoreServiceScaleRange' is false.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We'll try to get it fixed in a future version.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for reporting that.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Feb 2012 14:11:32 GMT</pubDate>
    <dc:creator>DominiqueBroux</dc:creator>
    <dc:date>2012-02-07T14:11:32Z</dc:date>
    <item>
      <title>Disable Legend Check Box For FeatureLayer (No IsInScaleRange)?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/disable-legend-check-box-for-featurelayer-no/m-p/370561#M1838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I just upgraded our code base from using 2.2 to 2.4 of the ArcGIS WPF API.&amp;nbsp; I really like that the map now has a Scale property and that Feature Layers obey the scales set in the service.&amp;nbsp; So thanks for that!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My question/issue now is the legend does not show the check box grayed out for service layers (feature layers) in the legend.&amp;nbsp; I have the legend setup pretty much like the Silverlight example but in a control template (I actually made my own check box that only grays out and doesn't disable, but same concept/issue):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;&amp;lt;CheckBox Content="{Binding Label}" &amp;nbsp;&amp;nbsp;&amp;nbsp; IsChecked="{Binding IsEnabled, Mode=TwoWay}" &amp;nbsp;&amp;nbsp;&amp;nbsp; IsEnabled="{Binding IsInScaleRange}" &amp;gt; &amp;lt;/CheckBox&amp;gt;&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now that Feature Layers obey their scale, I would like to disable their checkbox too, but IsInScaleRange doesn't exist...&amp;nbsp; Any ideas on how to do this?&amp;nbsp; Only thing I can think of is to derive a new layer from FeatureLayer and make a property that returns if in scale range.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot for any help!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Feb 2012 22:28:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/disable-legend-check-box-for-featurelayer-no/m-p/370561#M1838</guid>
      <dc:creator>RyanCoodey</dc:creator>
      <dc:date>2012-02-03T22:28:51Z</dc:date>
    </item>
    <item>
      <title>Re: Disable Legend Check Box For FeatureLayer (No IsInScaleRange)?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/disable-legend-check-box-for-featurelayer-no/m-p/370562#M1839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Ryan,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It seems it's a bug. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LayerItemViewModel.IsInScaleRange and LayerItemViewModel.IsVisible are not taking care of the scales set in the service when 'IgnoreServiceScaleRange' is false.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We'll try to get it fixed in a future version.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for reporting that.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2012 14:11:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/disable-legend-check-box-for-featurelayer-no/m-p/370562#M1839</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2012-02-07T14:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: Disable Legend Check Box For FeatureLayer (No IsInScaleRange)?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/disable-legend-check-box-for-featurelayer-no/m-p/370563#M1840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok, no problem, we will just leave IgnoreServiceScaleRange = true until resolved.&amp;nbsp; Thanks a lot for looking into this and the info!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2012 16:16:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/disable-legend-check-box-for-featurelayer-no/m-p/370563#M1840</guid>
      <dc:creator>RyanCoodey</dc:creator>
      <dc:date>2012-02-07T16:16:29Z</dc:date>
    </item>
  </channel>
</rss>

