title: Add Content to Button in Style
body: <p>Hello Im trying to override the default mouseover event on WPF.</p>
  
  <p>I have managed to work that out, but now having a problem displaying any Text content</p>
  
  <p>Style Setter:</p>
  
  <pre><code>&lt;Style x:Key="MyButton" TargetType="Button"&gt;
          &lt;Setter Property="OverridesDefaultStyle" Value="True"/&gt;
          &lt;Setter Property="Cursor" Value="Hand"/&gt;
          &lt;Setter Property="Content"  Value="Submit" /&gt;
          &lt;Setter Property="Template"&gt;
  
  
              &lt;Setter.Value&gt;
                  &lt;ControlTemplate TargetType="Button"&gt;
                      &lt;Border Name="Border" BorderThickness="0" BorderBrush="White" Background="#FF7AB800" Height="24" Margin="0,0,0.2,0" /&gt;
  
  
  
                      &lt;ControlTemplate.Triggers&gt;
                          &lt;Trigger Property="IsMouseOver" Value="True" &gt;
  
                          &lt;/Trigger&gt;
                      &lt;/ControlTemplate.Triggers&gt;
                  &lt;/ControlTemplate&gt;
              &lt;/Setter.Value&gt;
          &lt;/Setter&gt;
      &lt;/Style&gt;
  </code></pre>
  
  <p>Heres my button code:</p>
  
  <pre><code> &lt;Button x:Name="submitBtn" HorizontalAlignment="Left" Margin="402,296,0,0" VerticalAlignment="Top" Width="75" Foreground="Black" FontFamily="Calibri Light" FontSize="16" Style="{StaticResource MyButton}" Content="Submit"/&gt;
  </code></pre>