title: Change the style of content dialog button in windows phone universal application
body: <p>I have this content dialog box defined inside my xaml:</p>
  
  <pre><code>    &lt;ContentDialog x:Name="AlertMessage" Background="#363636" IsSecondaryButtonEnabled="True" SecondaryButtonText="Cancel"  IsPrimaryButtonEnabled="True" PrimaryButtonText="Ok" &gt;
          &lt;ContentDialog.Content&gt;
              &lt;StackPanel Name="rootStackPanel" Height="Auto"  &gt;
                  &lt;StackPanel Margin="0"&gt;
                      &lt;StackPanel Margin="0,0,0,10" Orientation="Horizontal"&gt;
                          &lt;TextBlock x:Name="HeadingText" x:FieldModifier="public" Style="{StaticResource ApplicationMessageBoxHeadingStyle}" Text="Alert"  /&gt;
                          &lt;Image Margin="10,05,0,0" Source="/Assets/Images/alert.png" Width="35"&gt;&lt;/Image&gt;
                      &lt;/StackPanel&gt;
                      &lt;TextBlock x:FieldModifier="public" x:Name="ContentText" Style="{StaticResource ApplicationMessageBoxErrorStyle}" Text="Are you sure you want to log off ?" /&gt;
                  &lt;/StackPanel&gt;
              &lt;/StackPanel&gt;
          &lt;/ContentDialog.Content&gt;
      &lt;/ContentDialog&gt;
  </code></pre>
  
  <p>And I'm calling it like this: </p>
  
  <pre><code>private void AppBarButton_Click(object sender, RoutedEventArgs e)
      {
          MessageBox();
      }
      private async void MessageBox()
      {
          ContentDialogResult LogoutDialog = await AlertMessage.ShowAsync();
  
          if (LogoutDialog == ContentDialogResult.Primary)
          {
              this.Frame.Navigate(typeof(MainPage));
          }
          else
          {
              // User pressed Cancel or the back arrow.
              // Terms of use were not accepted.
          }
  
      }
  </code></pre>
  
  <p><strong>Problem:</strong> is that my app have a style for all the buttons in my applications. And I want to apply same styles to the primary and secondary buttons of that dialog box too. And I am unable to figure out how to Achieve this. Is it possible to apply styles to these buttons?</p>