public void AddPile() { var ret = new GroupItemModel(Piles); Piles.Add(ret); Selection = ret; RaisePropertyChanged("Piles"); }
public void AddPile() { var ret = new GroupItemViewModel() { ItemSource = Piles }; Piles.Add(ret); Selection = ret; RaisePropertyChanged("Piles"); }
public void AddPile(Pile pile) { Piles.Add(pile); }