Esempio n. 1
0
        public void AddSize()
        {
            var ret = new SizeItemModel(CardSizes);

            CardSizes.Add(ret);
            Selection = ret;
            RaisePropertyChanged("CardSizes");
        }
        public void AddSize()
        {
            var ret = new SizeItemViewModel()
            {
                ItemSource = CardSizes, Name = "Size"
            };

            CardSizes.Add(ret);
            Selection = ret;
            RaisePropertyChanged("CardSizes");
        }