Пример #1
0
        public void AddSize()
        {
            var ret = new SizeItemModel(CardSizes);

            CardSizes.Add(ret);
            Selection = ret;
            RaisePropertyChanged("CardSizes");
        }
Пример #2
0
        public void AddSize()
        {
            var ret = new SizeItemViewModel()
            {
                ItemSource = CardSizes, Name = "Size"
            };

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