예제 #1
0
        public void AddPile()
        {
            var ret = new GroupItemModel(Piles);

            Piles.Add(ret);
            Selection = ret;
            RaisePropertyChanged("Piles");
        }
예제 #2
0
        public void AddPile()
        {
            var ret = new GroupItemViewModel()
            {
                ItemSource = Piles
            };

            Piles.Add(ret);
            Selection = ret;
            RaisePropertyChanged("Piles");
        }
예제 #3
0
 public void AddPile(Pile pile)
 {
     Piles.Add(pile);
 }