How to disable a button until another button is clicked in WPF MVVM ?
any solution ?
How to disable a button until another button is clicked in WPF MVVM ?
any solution ?
What was suggested in one of the comments: How to disable a button until another button is clicked in WPF MVVM is a possible solution, however it's not MVVM and it does quite opposite to what you want to achieve.
You can also do the following:
IsAnotherButtonClicked in your code and set it to false.IsEnabled property to the defined dependency property in XAMLClick event handler make sure that you set the IsAnotherButtonClicked to true