title: Removing shadow from button WPF
body: <p>I've created style for button in my WPF app:</p>
  
  <pre><code>&lt;Style x:Key="buttonStyle" TargetType="Button"&gt;
      &lt;Setter Property="Border.BorderBrush" Value="Black" /&gt;
      &lt;Setter Property="Border.BorderThickness" Value="1" /&gt;
      &lt;Setter Property="Border.Background" Value="White" /&gt;
      &lt;Setter Property="Height" Value="25" /&gt;
      &lt;Setter Property="Width" Value="100" /&gt;
      &lt;Setter Property="Template"&gt;
          &lt;Setter.Value&gt;
              &lt;ControlTemplate TargetType="Button"&gt;
                  &lt;Border
                      Width="{TemplateBinding Width}"
                      Height="{TemplateBinding Height}"
                      Background="{TemplateBinding Background}"
                      BorderBrush="{TemplateBinding BorderBrush}"
                      BorderThickness="{TemplateBinding BorderThickness}"&gt;
                      &lt;ContentPresenter
                          HorizontalAlignment="Center"
                          VerticalAlignment="Center"
                          Content="{TemplateBinding Content}"
                          ContentTemplate="{TemplateBinding ContentTemplate}" /&gt;
                  &lt;/Border&gt;
                  &lt;ControlTemplate.Triggers&gt;
                      &lt;Trigger Property="IsMouseOver" Value="True"&gt;
                          &lt;Setter Property="Background" Value="Red" /&gt;
                      &lt;/Trigger&gt;
                  &lt;/ControlTemplate.Triggers&gt;
              &lt;/ControlTemplate&gt;
          &lt;/Setter.Value&gt;
      &lt;/Setter&gt;
  &lt;/Style&gt;
  </code></pre>
  
  <p>Then I'm putting this style to Button control:</p>
  
  <pre><code>&lt;Button Style="{StaticResource buttonStyle}" Grid.Row="1" Grid.Column="1" Content="Press"/&gt;
  </code></pre>
  
  <p>When I'm running my app, I see grey shadow under and right of the button. Futhermore when I look in Visual Studio view I don't see shadow. How can I delete this effect? Anyone an idea or an completly other approach?</p>