private void ExecuteAddNew(object parameter)
 {
     ProductNames.Add(new ModelBaseVM()
     {
         Name = string.Empty, IsEnabled = true, IsChecked = false
     });
     ScrollToIndex = ProductNames.Count() - 1;
     CheckValidation();
 }
Esempio n. 2
0
 public void AddName(int id, string name)
 {
     ProductNames.Add(id, name);
 }