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