title: How to change button content when clicked in Xaml?
body: <p>I have buttoncontent named Hold button. Once when I clicked button the button content should change to Resume, again if pressed resume button means Hold should be visible.</p>
  
  <p>XAML code:</p>
  
  <pre><code> &lt;Button Style="{StaticResource CommonButtonStyle}" Template="{DynamicResource GlassButton}" ToolTip="F9" Click="Hold_Click" PreviewKeyDown="Hold_PreviewKeyDown" Name="OK" Margin="1,49,25,0" Grid.Column="2" Grid.Row="13" Grid.RowSpan="2"&gt;
          &lt;StackPanel Style="{StaticResource ButtonStackPanel}"&gt;
              &lt;Image Style="{StaticResource CancelImages}" /&gt;
              &lt;TextBlock Text="{Loc lblHold}" Style="{StaticResource ButtonTextBlock}" /&gt;
          &lt;/StackPanel&gt;
    &lt;/Button&gt;
  </code></pre>