title: Set CornerRadius on button template
body: <p>I want to have a Button that defines no <code>CornerRadius</code> and two others that do, how can I achieve this?</p>
  
  <pre><code>&lt;Style TargetType="Button" x:Key="TabButton"&gt;
      &lt;Setter Property="Background" Value="White" /&gt;
      &lt;Setter Property="TextBlock.TextAlignment" Value="Center" /&gt;
      &lt;Setter Property="Template"&gt;
          &lt;Setter.Value&gt;
              &lt;ControlTemplate TargetType="Button"&gt;
                  &lt;Border CornerRadius="0" Background="White" BorderBrush="#ccc" BorderThickness="0,1,1,0" &gt;
                      &lt;ContentPresenter x:Name="contentPresenter" ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/&gt;
                  &lt;/Border&gt;
              &lt;/ControlTemplate&gt;
          &lt;/Setter.Value&gt;
      &lt;/Setter&gt;
  &lt;/Style&gt;
  
  &lt;Style TargetType="Button" x:Key="TabButtonFirst" BasedOn="{StaticResource TabButton}"&gt;
      &lt;Setter Property="CornerRadius" Value="3,0,0,0" /&gt;
  &lt;/Style&gt;
  
  &lt;Style TargetType="Button" x:Key="TabButtonLast" BasedOn="{StaticResource TabButton}"&gt;
      &lt;Setter Property="CornerRadius" Value="0,0,0,3" /&gt;
  &lt;/Style&gt;
  </code></pre>