Weird problem where Button does not get re-enabled unless the mouse is clicked

WPF doesn’t update command bound controls unless it has a reason to. Clicking on the GUI causes WPF to refresh so the update then works.

You can manually cause a refresh of any command bound controls by calling CommandManager.InvalidateRequerySuggested.

Leave a Comment