Beispiel #1
0
        public void Execute(object parameter)
        {
            ItemPopupCategoryPopup categoryPopup = parameter as ItemPopupCategoryPopup;
            CategoryViewModel      categoryVM    = categoryPopup.Resources["CategoryVM"] as CategoryViewModel;
            ItemPopupViewModel     itemPopupVM   = categoryPopup.Resources["ItemPopupVM"] as ItemPopupViewModel;

            itemPopupVM.IsCategoryPopup = false;
            categoryPopup.Close();
        }
        public void Execute(object parameter)
        {
            ItemPopup              itemPopup     = parameter as ItemPopup;
            ItemPopupViewModel     itemPopupVM   = itemPopup.Resources["PopUpVM"] as ItemPopupViewModel;
            ItemPopupCategoryPopup categoryPopup = new ItemPopupCategoryPopup();

            categoryPopup.Resources["ItemPopupVM"] = itemPopupVM;
            CategoryViewModel categoryVM = categoryPopup.Resources["CategoryVM"] as CategoryViewModel;

            categoryVM.category         = itemPopupVM.Category;
            itemPopupVM.IsCategoryPopup = true;
            categoryPopup.Show();
        }
Beispiel #3
0
        public void Execute(object parameter)
        {
            ItemPopupCategoryPopup categoryPopup = parameter as ItemPopupCategoryPopup;

            categoryPopup.DragMove();
        }