Make a Button on the GUI and bind the Click event to a EventHandler in the Code Behind. This EventHandler basically just flip-flops the IsEnabled
Property of the control Elements. Here is how something like this could look
private void BtnToggle_Click(object sender, RoutedEventArgs e)
{
//Do this with every button
BtnToFlip.IsEnabled = !Btn.ToFlip.IsEnabled
}
This flip-flops between IsEnabled
from true
to false
Note: This is in no way shape or form the best way to do this, and I am aware this is not even remotely MVVM. This is just a simple answer to OP's question as he seems to be very new.