title: Foreground Color of Custom Button (ControlPresenter)
body: <p>I am attempting to define a global button style in App.xaml, and it's mostly working as I expect.  However, I just cannot figure out how to get the Foreground to work correctly.  No matter what I do, I am getting the style of the default TextBlock (which sets the color to White).</p>
  
  <pre><code>    &lt;Style TargetType="{x:Type Button}"&gt;
          &lt;Setter Property="Margin" Value="3, 5" /&gt;
          &lt;Setter Property="OverridesDefaultStyle" Value="True" /&gt;
          &lt;Setter Property="FocusVisualStyle" 
                  Value="{StaticResource ButtonFocusVisual}" /&gt;
          &lt;Setter Property="Foreground" Value="Red" /&gt;
          &lt;Setter Property="Padding" Value="5" /&gt;
          &lt;Setter Property="Template"&gt;
              &lt;Setter.Value&gt;
                  &lt;ControlTemplate TargetType="Button"&gt;
                      &lt;Grid x:Name="gridMainButton"
                            RenderTransformOrigin="0.5, 0.5"&gt;
                          &lt;Grid.RenderTransform&gt;
                              &lt;ScaleTransform x:Name="scaleTransform" 
                                              CenterX="0.5"
                                              CenterY="0.5" /&gt;
                          &lt;/Grid.RenderTransform&gt;
                          &lt;VisualStateManager.VisualStateGroups&gt;
                              &lt;VisualStateGroup x:Name="CommonStates" &gt;
                                  &lt;VisualState x:Name="Normal" /&gt;
                                  &lt;VisualState x:Name="MouseOver" /&gt;
                                  &lt;VisualState x:Name="Pressed"&gt;
                                      &lt;Storyboard&gt;
                                          &lt;DoubleAnimation
                                                Storyboard.TargetName="scaleTransform"
                                                Storyboard.TargetProperty="ScaleX"
                                                Duration="0"
                                                To="0.85" /&gt;
                                      &lt;/Storyboard&gt;
                                  &lt;/VisualState&gt;
                              &lt;/VisualStateGroup&gt;
                          &lt;/VisualStateManager.VisualStateGroups&gt;
  
                          &lt;Ellipse x:Name="ellipse"
                                   HorizontalAlignment="Stretch"
                                   VerticalAlignment="Stretch"
                                   StrokeThickness="2"
                                   Stroke="{StaticResource standardBackground}"
                                   Fill="{StaticResource standardBackground}" /&gt;
                          &lt;ContentPresenter HorizontalAlignment="Center"
                                            VerticalAlignment="Center"
                                            Margin="4, 8"/&gt;
                      &lt;/Grid&gt;
                  &lt;/ControlTemplate&gt;
              &lt;/Setter.Value&gt;
          &lt;/Setter&gt;
      &lt;/Style&gt;
  </code></pre>
  
  <p>I guess I could change the ContentPresenter to a TextBlock, which would be ok for this particular application, but I'm looking for a more generic solution.</p>
  
  <p>Thanks,<br>
  wTs</p>