public override void Execute(object parameter) { var selMolecule = EditViewModel.SelectedItems[0] as Molecule; bool flipStereo = KeyboardUtils.HoldingDownShift(); EditViewModel.FlipMolecule(selMolecule, false, flipStereo); }