摘要:
首先介绍CommandManager类,它有一个重要的静态事件:RequerySuggested: Occurs when the CommandManager detects conditions that might change the ability of a command to execute.当CommandManager认为当前的某个改变或动作有可能会改变command的能否执行的状态时,就触发该事件。例如焦点改变,所以这个事件会多次被触发。另外有一个重要的静态方法:InvalidateRequerySuggested(): Forces the CommandManager 阅读全文