public ActionButton(ArgumentEditViewModel viewModel)
 {
     this.viewModel = viewModel;
     this.viewModel.PropertyChanged += (s, e) =>
     {
         if (this.CanExecuteChanged != null)
         {
             this.CanExecuteChanged(this, new EventArgs());
         }
     };
 }
 public ActionButton(ArgumentEditViewModel viewModel)
 {
     this.viewModel = viewModel;
     this.viewModel.PropertyChanged += (s, e) =>
     {
         if (this.CanExecuteChanged != null)
         {
             this.CanExecuteChanged(this, new EventArgs());
         }
     };
 }