Solved! Go to Solution.
<esri:Map x:Name="MyMap" WrapAround="True" Extent="-15000000,2000000,-7000000,8000000"> <esri:ArcGISTiledMapServiceLayer ID="StreetMapLayer" Url="http://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer"/> <esri:FeatureLayer ID="MyFeatureLayer" Url="http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Specialty/ESRI_StatesCitiesRivers_USA/MapServer/0" Where="POP1990 > 100000" Renderer="{StaticResource MySimplePointRenderer}"/> </esri:Map> <CheckBox Content="CheckBox" Height="16" HorizontalAlignment="Left" Margin="25,12,0,0" VerticalAlignment="Top" DataContext="{Binding Layers, ElementName=MyMap}" IsChecked="{Binding [MyFeatureLayer].Visible, Mode=TwoWay}" />
<esri:Map x:Name="MyMap" WrapAround="True" Extent="-15000000,2000000,-7000000,8000000"> <esri:ArcGISTiledMapServiceLayer ID="StreetMapLayer" Url="http://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer"/> <esri:FeatureLayer ID="MyFeatureLayer" Url="http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Specialty/ESRI_StatesCitiesRivers_USA/MapServer/0" Where="POP1990 > 100000" Renderer="{StaticResource MySimplePointRenderer}"/> </esri:Map> <CheckBox Content="CheckBox" Height="16" HorizontalAlignment="Left" Margin="25,12,0,0" VerticalAlignment="Top" DataContext="{Binding Layers, ElementName=MyMap}" IsChecked="{Binding [MyFeatureLayer].Visible, Mode=TwoWay}" />