title: Add button with border in WPF
body: <p>I have created a <code>Button</code> with rounded corners and white background. But I need borders surrounding the button to look like the button in the attached screenshot:</p>
  
  <p><a href="https://i.stack.imgur.com/1fGql.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1fGql.jpg" alt="enter image description here"></a></p>
  
  <p>I have developed this code for the button:</p>
  
  <pre><code>&lt;Button Cursor="Hand" x:Name="login" BorderBrush="Transparent" Background="White" Foreground="Black" FontSize="24" Margin="42,305,0,0" VerticalAlignment="Top" HorizontalAlignment="Left"
                  Content="LOG IN" Grid.Column="1" FontWeight="Bold" Click="login_Click" RenderTransformOrigin="0.844,0.439" Width="101"&gt;
      &lt;Button.Effect&gt;
          &lt;DropShadowEffect BlurRadius="15" ShadowDepth="0"/&gt;
      &lt;/Button.Effect&gt;
      &lt;Button.Resources&gt;
          &lt;Style TargetType="{x:Type Border}"&gt;
              &lt;Setter Property="CornerRadius" Value="10"/&gt;
              &lt;Setter Property="Padding" Value="10,2,10,3"/&gt;
              &lt;Setter Property="Background" Value="White"/&gt;
          &lt;/Style&gt;
      &lt;/Button.Resources&gt;
  &lt;/Button&gt;
  </code></pre>
  
  <p>Please give your suggestion.</p>