Example #1
0
        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");
        }
Example #3
0
 public void AddPile(Pile pile)
 {
     Piles.Add(pile);
 }