Ejemplo n.º 1
0
 public RowViewModel()
 {
     ChangeCommand = new ActionCommand((a) =>
     {
         switch (a)
         {
         case CollectionItemEventArgs {
             EventType: EventType.Add
         } :
             if (NewItem.MoveNext())
             {
                 Data.Add(NewItem.Current as Common.ViewModel.ElementViewModel);
             }
             break;