Exemplo n.º 1
0
 private void ExecuteAddCardButtonCommand(CardsSection section)
 {
     if (section != null)
     {
         var card = new ProductCard();
         card.Title = "Card " + (section.Cards.Count + 1);
         section.Cards.Add(card);
         this.SelectedCard = card;
     }
 }
Exemplo n.º 2
0
 private bool CanExecuteAddCardButtonCommand(CardsSection arg)
 {
     return(true);
 }