2014年3月22日

WPF CanExecuteChanged

摘要: 继承ICommand ,RelayCommand命令 1 public class RelayCommand : ICommand 2 { 3 private readonly Action _execute; 4 private readonly Func _canExecute; 5 public event EventHandler CanExecuteChanged; 6 public RelayCommand(Action execute) : this(execute, null) 7 { 8 ... 阅读全文

posted @ 2014-03-22 23:17 饶华刚 阅读(2167) 评论(0) 推荐(0)

导航