I have several Buttons on screen. On the click of one Button rest all other Buttons should be disabled. Is there a way to create one single method and set the enabling and disabling all Buttons instead of enabling and disabling individual Buttons.
I have several Buttons on screen. On the click of one Button rest all
Share
This method assumes that the Buttons are on the same Grid, it reverses the Enabled state of every button except of the one doing the clicking.
MainWindow.xaml
MainWindow.xaml.cs