WPF Set label background to image depending on content
<p>I have the following Xaml code and I have label triggers. I want to have a trigger that will place an image in the background for some content value. How do i do this as a trigger?</p>

<pre><code> &lt;Window.Resources&gt;
    &lt;DataTemplate x:Key="DataTemplate_Level2"&gt;
        &lt;Label Content="{Binding }" Width="70" Height="70" HorizontalContentAlignment="Center" x:Name="Background"&gt;
        &lt;/Label&gt;
        &lt;DataTemplate.Triggers&gt;
            &lt;DataTrigger Binding="{Binding}" Value="1"&gt;
                &lt;Setter TargetName="Background" Property="Background" Value="Black"/&gt;
            &lt;/DataTrigger&gt;
            &lt;DataTrigger Binding="{Binding}" Value="5"&gt;
                &lt;Setter TargetName="Background" Property="Background" Value="Image"/&gt;
            &lt;/DataTrigger&gt;
            &lt;DataTrigger Binding="{Binding }" Value="9"&gt;
                &lt;Setter TargetName="Background" Property="Background" Value="Green"/&gt;
            &lt;/DataTrigger&gt;
            &lt;DataTrigger Binding="{Binding}" Value="7"&gt;
                &lt;Setter TargetName="Background" Property="Background" Value="blue"/&gt;
            &lt;/DataTrigger&gt;
        &lt;/DataTemplate.Triggers&gt;
    &lt;/DataTemplate&gt;
    &lt;DataTemplate x:Key="DataTemplate_Level1"&gt;
        &lt;ItemsControl ItemsSource="{Binding}" ItemTemplate="{DynamicResource DataTemplate_Level2}"&gt;
            &lt;ItemsControl.ItemsPanel&gt;
                &lt;ItemsPanelTemplate&gt;
                    &lt;StackPanel Orientation="Horizontal"/&gt;
                &lt;/ItemsPanelTemplate&gt;
            &lt;/ItemsControl.ItemsPanel&gt;
        &lt;/ItemsControl&gt;
    &lt;/DataTemplate&gt;
&lt;/Window.Resources&gt;
</code></pre>