private void ExecutedCustomCommand(object sender, ExecutedRoutedEventArgs e) { /*MessageBox.Show("Custom Command Executed");*/ // canEx = !canEx; /*Window dialog = new Window(); dialog.Owner = Application.Current.MainWindow; dialog.ShowDialog();*/ }