コード例 #1
0
        private void LevelCommandButtons_DeleteClicked(object sender, System.Windows.RoutedEventArgs e)
        {
            CommandListingButtonsControl            button  = (CommandListingButtonsControl)sender;
            StreamPassCustomLevelUpCommandViewModel command = (StreamPassCustomLevelUpCommandViewModel)button.DataContext;

            this.viewModel.DeleteCustomLevelUpCommand(command);
        }
コード例 #2
0
        private void CustomProductCommandButtons_DeleteClicked(object sender, RoutedEventArgs e)
        {
            CommandListingButtonsControl    button  = (CommandListingButtonsControl)sender;
            RedemptionStoreProductViewModel product = (RedemptionStoreProductViewModel)button.DataContext;

            product.Command = null;
        }