private void AddNewItem() { if (NewItem.Trim().Length > 0) { Items.Add(new TodoItemModel() { Name = NewItem }); NewItem = ""; RaisePropertyChanged("NewItem"); } }