private void StartEditing() { IsEditingTask = true; EditTask = new EditTaskViewModel( new NamedCommand("Save", CommitTaskChange), new NamedCommand("Cancel", CancelTaskChange) ); }
public void CancelTaskChange() { this.IsEditingTask = false; EditTask = null; }