title: How can I stylize the text of a WPF button control?
body: <p>Having worked with FXML and seen the similarities between FXML CSS styling and XAML ResourceDictionary for styling.</p>
  
  <p>with FXML i was able to style the label of a button such that it had an inner-shadow effect.</p>
  
  <p>I am trying to do the same with buttons in XAML.</p>
  
  <p>I don't need the exact code to implement the style, I just need to know where that code goes in the  tag in the resource dictionary.</p>
  
  <p>How can I go about styling the text of XAML button?</p>
  
  <h2>EDIT</h2>
  
  <p>I want to thank McGarnagle for getting me set in the right direction : 
  This is with what I was able to come up (thanks to a bit I was able to get from <a href="http://www.java2s.com/Tutorial/CSharp/0470__Windows-Presentation-Foundation/EngraveText.htm" rel="nofollow">here</a>)</p>
  
  <pre><code>&lt;Style TargetType="{x:Type Button}"&gt;
      &lt;Setter Property="Template"&gt;
          &lt;Setter.Value&gt;
              &lt;ControlTemplate TargetType="{x:Type Button}"&gt;
                  &lt;Grid&gt;
                      &lt;Grid.Resources&gt;
                          &lt;Style TargetType="{x:Type TextBlock}"&gt;
                              &lt;Setter Property="HorizontalAlignment" Value="Center"/&gt;
                              &lt;Setter Property="VerticalAlignment" Value="Center"/&gt;
                          &lt;/Style&gt;
                      &lt;/Grid.Resources&gt;
                      &lt;TextBlock Foreground="{DynamicResource{x:Static SystemColors.GrayTextBrushKey}}" Text="{TemplateBinding Content}"&gt;
                                  &lt;TextBlock.RenderTransform&gt;
                                      &lt;TranslateTransform X="-2" Y="-2" /&gt;
                                  &lt;/TextBlock.RenderTransform&gt;
                      &lt;/TextBlock&gt;
                      &lt;TextBlock Foreground="{TemplateBinding Foreground}" Text="{TemplateBinding Content}"/&gt;
                  &lt;/Grid&gt;
              &lt;/ControlTemplate&gt;
          &lt;/Setter.Value&gt;
      &lt;/Setter&gt;
  &lt;/Style&gt;
  </code></pre>