title: Not able to Style my WPF Controls
body: <p>I am going crazy here! What am I missing and why it is not styling anything: </p>
  
  <pre><code>&lt;Style x:Key="textBoxStyle" TargetType="{x:Type TextBox}"&gt;
                  &lt;Style.Triggers&gt;
                      &lt;Trigger Property="IsFocused" Value="True"&gt;
                          &lt;Setter Property="Background" Value="Red" /&gt;
                      &lt;/Trigger&gt;
                  &lt;/Style.Triggers&gt;
              &lt;/Style&gt;
  
      &lt;TextBox Width="100" Style="{StaticResource textBoxStyle}" Height="20" Background="Yellow" &gt;&lt;/TextBox&gt;
  </code></pre>
  
  <p>The above code does not do anything. It does not highlight the TextBox control!</p>