Posted 8 years ago by Ray Huger
My ribbon has a PopupButton with two commands. When either of the commands CanExecute the PopupButton is enabled. When conditions change that would make one of the commands have CanExecute true I call CommandManager.InvalidateRequerySuggested(). That does not cause the commands' CanExecuteRoutedEventHandlers to fire. Only when I change the SelectedTab for the ribbon do I get the button to enable.