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.>
You can try something like this in the button's Click event:
Click
private void holdResumeButton_Click(object sender, RoutedEventArgs e) { if ((string)holdResumeButton.Content == "Hold") holdResumeButton.Content = "Resume"; else holdResumeButton.Content = "Hold"; }
XAML: