wpf Command canExecute 更新

可以调用以下语句通知

CommandManager.InvalidateRequerySuggested();

原文地址:https://www.cnblogs.com/akiing/p/9366450.html