Change sublayer renderer

Change map image sublayer rendering
Loading

Code

<UserControl x:Class="ArcGISRuntime.WPF.Samples.ChangeSublayerRenderer.ChangeSublayerRenderer"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:esri="http://schemas.esri.com/arcgis/runtime/2013">
    <Grid>
        <esri:MapView x:Name="MyMapView" />
        <Border Background="White" BorderBrush="Black" BorderThickness="1"
                HorizontalAlignment="Right" VerticalAlignment="Top"
                Margin="30" Padding="20" Width="375">
            <StackPanel>
                <TextBlock x:Name="ChangeSublayerRendererInstructionsLabel"
                           Text="Click 'Change sublayer renderer' to apply a unique value renderer to the counties sub-layer."
                           TextWrapping="Wrap" FontWeight="SemiBold"
                           Margin="0,0,0,5" />
                <Button x:Name="ChangeSublayerRendererButton"
                        Content="Change sublayer renderer"
                        Click="ChangeSublayerRendererButton_Click" />
            </StackPanel>
        </Border>
    </Grid>
</UserControl>


In this topic
  1. Code