title: XAML textbox change border color on focus
body: <h2>Issue</h2>
  
  <hr>
  
  <p>The issue I am currently having is that on the 'IsFocused' property I am able to Trigger the background for the textbox to change but when I want to change the BorderBrush it does not work.</p>
  
  <pre><code>            &lt;TextBox Padding="2" FontFamily="Sans Serif" Foreground="Red" FontSize="10px" FontWeight="Medium" Width="200" BorderThickness="2" VerticalAlignment="Center"&gt;
              &lt;TextBox.Resources&gt;
                  &lt;Style TargetType="{x:Type Border}"&gt;
                      &lt;Setter Property="CornerRadius" Value="2"/&gt;
                  &lt;/Style&gt;
              &lt;/TextBox.Resources&gt;
              &lt;TextBox.Style&gt;
                  &lt;Style TargetType="{x:Type TextBox}"&gt;
                      &lt;Setter Property="BorderBrush" Value="#858585"/&gt;
                      &lt;Style.Triggers&gt;
                          &lt;Trigger Property="IsFocused" Value="True"&gt;
                              &lt;Setter Property="BorderBrush" Value="Red" /&gt;
                          &lt;/Trigger&gt;
                      &lt;/Style.Triggers&gt;
                  &lt;/Style&gt;
              &lt;/TextBox.Style&gt;
          &lt;/TextBox&gt;
  </code></pre>
  
  <p>Can anyone see a reason why this would not work?</p>
  
  <h2>EDIT</h2>
  
  <p>I have just discovered that when I 'Right-Click' it changes to Red? I want it to change to red when the user clicks on the textbox.</p>