title: Change button border thickness in wpf?
body: <p>Why the border thickness of the Button doesn't change?</p>
  
  <p>If I change the border thickness to 1 or 100, it doesn't matters. It's the same. I would like to change it using <strong>Style</strong>, not <strong>Custom Template</strong>.</p>
  
  <pre><code> &lt;Window x:Class="GUI.MainWindow"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  
      Title="MainWindow" Height="350" Width="525"&gt;
  &lt;Window.Resources&gt;
      &lt;Style x:Key="newYellowButton" TargetType="{x:Type Button}"&gt;
          &lt;Setter Property="Width" Value="100"/&gt;
          &lt;Setter Property="Height" Value="100"/&gt;
          &lt;Setter Property="Background"&gt;
              &lt;Setter.Value&gt;
                  &lt;RadialGradientBrush Center="0.5,0.5" GradientOrigin="0.5,0.5" RadiusX="0.5" RadiusY="0.5" SpreadMethod="Pad" ColorInterpolationMode="SRgbLinearInterpolation"&gt;
                      &lt;GradientStop Color="#FFEEEE3B" Offset="0.5" /&gt;
                      &lt;GradientStop Color="#FFF0E49A" Offset="1" /&gt;
                  &lt;/RadialGradientBrush&gt;
              &lt;/Setter.Value&gt;
          &lt;/Setter&gt;
          &lt;Setter Property="BorderThickness" Value="9"/&gt;
          &lt;Setter Property="BorderBrush" Value="Blue" /&gt;
          &lt;Setter Property="Padding" Value="-4"/&gt;
      &lt;/Style&gt;
  &lt;/Window.Resources&gt;
  &lt;Grid&gt;
      &lt;Button Style="{StaticResource newYellowButton}" Content="Ok"/&gt;
  &lt;/Grid&gt;
  </code></pre>
  
  <p></p>