title: Button Styling in XAML
body: <p>I have customized the button in this way:</p>
  
  <pre><code>&lt;Button BorderBrush="Transparent" Name="DialButton" Click="DialButton_Click" &gt;
              &lt;StackPanel Orientation="Horizontal"&gt;
                  &lt;TextBlock FontSize="43" Name="lblNumber" Margin="0,-5,0,0" /&gt;
                  &lt;TextBlock FontSize="12" Margin="5,20,0,0" Name="lblCharacter" /&gt;
              &lt;/StackPanel&gt;
  &lt;/Button&gt;
  </code></pre>
  
  <p>Now, when a user presses the button I want the OnPress state to change the color of the labels. I can do this if it's a simple button by changing the Pressed state. But my label is placed inside a stack panel. How can I change the color in this case? Or in which event can I change the colors of the labels from C#.</p>