public Task(DateTime now, string text) { this._value = new Data.Task(now, text); this.EditCommand = new RelayCommand(EditCommandExecute); this.AbortCommand = new RelayCommand(AbortCommandExecute); this.SaveCommand = new RelayCommand(SaveCommandExecute); this.CopyCommand = new RelayCommand(CopyExecute); }
public void EnterEditMode() { this._valueBackup = new Data.Task(this._value); this.EditMode = true; }