title: foreground color wont be changed in controlTemplate
body: <p>I am using WPF. Please look at comment related to Foreground in code. When the textbox gets focused, the font should be changed to white but it is not working. Why?</p>
  
  <pre><code> &lt;ControlTemplate TargetType="{x:Type TextBox}"&gt;
                  &lt;Border x:Name="bg" BorderBrush="#FFDCDCC9" Background="#FFDCDCC9" BorderThickness="1"&gt;
                      &lt;ScrollViewer x:Name="PART_ContentHost" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"/&gt;
                  &lt;/Border&gt;
                  &lt;ControlTemplate.Triggers&gt;
  
                      &lt;Trigger  Property="IsMouseOver" Value="True"&gt;
                          &lt;Setter  Property="BorderBrush" TargetName="bg" Value="#FFEC94C0"/&gt;
                          &lt;Setter  Property="Background" TargetName="bg" Value="#FFEC94C0"/&gt;
                          &lt;Setter Property="BorderThickness" TargetName="bg" Value="2"/&gt;
                          &lt;Setter Property="Cursor" Value="Hand"/&gt;
                      &lt;/Trigger&gt;
  
                      &lt;Trigger Property="IsFocused" Value="True" &gt;
                          &lt;Setter Property="BorderBrush" TargetName="bg" Value="#FFB5266E"/&gt;
                          &lt;Setter  Property="Background" TargetName="bg" Value="#FFEC94C0"/&gt;
                          &lt;!-- foreground is invalid --&gt; 
                          &lt;Setter  Property="Foreground" TargetName="bg" Value="white"/&gt;
                          &lt;Setter Property="BorderThickness" TargetName="bg" Value="2"/&gt;
                          &lt;Setter Property="Cursor" Value="Hand"/&gt;
                      &lt;/Trigger&gt;
  
                  &lt;/ControlTemplate.Triggers&gt;
              &lt;/ControlTemplate&gt;
  </code></pre>