https://blog.csdn.net/WPwalter/article/details/90344470
this.DispatcherInvoke(() => { System.Windows.Input.CommandManager.InvalidateRequerySuggested(); });