title: How to set the background color of a label in WPF?
body: <p>I have a label but setting the Background property not seem to do anything:</p>
  
  <pre><code>    &lt;Label Content="{Binding Name, Source={StaticResource LocStrings}}"
            HorizontalAlignment="Left" Margin="4" Name="label2"  Background="Blue" 
            VerticalAlignment="Top"/&gt;
  </code></pre>
  
  <p>This does not show a blue background (while the property Background is recognized.</p>
  
  <p>Also when using the Label.Background 'way' I do not see a blue background.</p>
  
  <p>Update:</p>
  
  <p>I used the following minimalistic code:</p>
  
  <pre><code>&lt;Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
     Title="TEST" SizeToContent="WidthAndHeight"&gt;
      &lt;Grid&gt;
          &lt;Label Content="TEXT TO TEST" Foreground="Green" Background="Orange"/&gt;
      &lt;/Grid&gt;
  &lt;/Window&gt;
  </code></pre>
  
  <p>What I see is the tekst in green but without any orange background.</p>