296 references to Shift
DesignSurface (1)
MainForm.Designer.cs (1)
252this.ToolStripMenuItemKeyInvokeSmartTag.ShortcutKeys = System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.Shift | System.Windows.Forms.Keys.F10;
Microsoft.VisualBasic.Forms (1)
Microsoft\VisualBasic\Devices\Keyboard.vb (1)
86Return CType(keys And Keys.Shift, Boolean)
System.Windows.Forms (232)
System\Windows\Forms\ActiveX\AxHost.cs (1)
176Debug.Assert((int)Keys.Shift == 0x00010000, "key.shift mismatch");
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (1)
379target.SelectNextControl(null, ModifierKeys != Keys.Shift, tabStopOnly: true, nested: true, wrap: true);
System\Windows\Forms\Control.cs (1)
2516modifiers |= Keys.Shift;
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (1)
2938&& (keyData == (Keys.Control | Keys.Back) || keyData == (Keys.Control | Keys.Shift | Keys.Back)))
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (125)
10083return GetTabKeyEffective((keyData & Keys.Shift) == Keys.Shift, (keyData & Keys.Control) == Keys.Control); 10088if ((keyData & (Keys.Control | Keys.Shift | Keys.Alt)) == Keys.Control) 10099if ((keyData & (Keys.Control | Keys.Shift | Keys.Alt)) == Keys.Control) 10109if ((keyData & (Keys.Control | Keys.Shift | Keys.Alt)) == Keys.Shift 11891bool isShiftDown = (nModifier & Keys.Shift) == Keys.Shift; 16444if ((ModifierKeys & (Keys.Shift | Keys.Alt)) != 0 || MouseButtons != MouseButtons.None) 19907if ((keyData & (Keys.Shift | Keys.Control | Keys.Alt)) == Keys.Control && MultiSelect) 20170if ((keyData & Keys.Shift) == Keys.Shift) 20293if ((keyData & Keys.Shift) == Keys.Shift) 20423if ((keyData & Keys.Shift) == Keys.Shift) 20535if ((keyData & Keys.Shift) == Keys.Shift) 20659if ((keyData & Keys.Shift) == Keys.Shift) 20805if ((keyData & Keys.Shift) == Keys.Shift) 21084return ProcessRightMost((keyData & Keys.Shift) == Keys.Shift, lastVisibleColumnIndex, firstVisibleRowIndex); 21098if ((keyData & Keys.Shift) == Keys.Shift) 21133return ProcessRightMost((keyData & Keys.Shift) == Keys.Shift, lastVisibleColumnIndex, firstVisibleRowIndex); 21147if ((keyData & Keys.Shift) == Keys.Shift) 21210return ProcessRightMost((keyData & Keys.Shift) == Keys.Shift, lastVisibleColumnIndex, firstVisibleRowIndex); 21225if ((keyData & Keys.Shift) == Keys.Shift) 21250return ProcessRightMost((keyData & Keys.Shift) == Keys.Shift, lastVisibleColumnIndex, firstVisibleRowIndex); 21254if ((keyData & Keys.Shift) == Keys.Shift) 21341return ProcessRightMost((keyData & Keys.Shift) == Keys.Shift, lastVisibleColumnIndex, firstVisibleRowIndex); 21356if ((keyData & Keys.Shift) == Keys.Shift) 21403keyData &= ~Keys.Shift; 21558return ProcessLeftMost((keyData & Keys.Shift) == Keys.Shift, firstVisibleColumnIndex, firstVisibleRowIndex); 21572if ((keyData & Keys.Shift) == Keys.Shift) 21607return ProcessLeftMost((keyData & Keys.Shift) == Keys.Shift, firstVisibleColumnIndex, firstVisibleRowIndex); 21621if ((keyData & Keys.Shift) == Keys.Shift) 21684return ProcessLeftMost((keyData & Keys.Shift) == Keys.Shift, firstVisibleColumnIndex, firstVisibleRowIndex); 21699if ((keyData & Keys.Shift) == Keys.Shift) 21729return ProcessLeftMost((keyData & Keys.Shift) == Keys.Shift, firstVisibleColumnIndex, firstVisibleRowIndex); 21733if ((keyData & Keys.Shift) == Keys.Shift) 21820return ProcessLeftMost((keyData & Keys.Shift) == Keys.Shift, firstVisibleColumnIndex, firstVisibleRowIndex); 21852if (((keyData & (Keys.Shift | Keys.Control | Keys.Alt)) == Keys.Control 21853|| ((keyData & (Keys.Shift | Keys.Control | Keys.Alt)) == (Keys.Control | Keys.Shift) 22097return ProcessLeftMost((keyData & Keys.Shift) == Keys.Shift, firstVisibleColumnIndex, firstVisibleRowIndex); 22101if ((keyData & Keys.Shift) == Keys.Shift) 22208return ProcessLeftMost((keyData & Keys.Shift) == Keys.Shift, firstVisibleColumnIndex, firstVisibleRowIndex); 22212if ((keyData & Keys.Shift) == Keys.Shift) 22317return ProcessLeftMost((keyData & Keys.Shift) == Keys.Shift, firstVisibleColumnIndex, firstVisibleRowIndex); 22321if ((keyData & Keys.Shift) == Keys.Shift) 22461return ProcessLeftMost((keyData & Keys.Shift) == Keys.Shift, firstVisibleColumnIndex, firstVisibleRowIndex); 23022if ((keyData & Keys.Shift) == Keys.Shift && MultiSelect) 23062if ((keyData & Keys.Shift) == Keys.Shift && MultiSelect) 23098if ((keyData & Keys.Shift) == Keys.Shift && MultiSelect) 23279if ((keyData & Keys.Shift) == Keys.Shift && MultiSelect) 23318if ((keyData & Keys.Shift) == Keys.Shift && MultiSelect) 23354if ((keyData & Keys.Shift) == Keys.Shift && MultiSelect) 23471return ProcessRightMost((keyData & Keys.Shift) == Keys.Shift, lastVisibleColumnIndex, firstVisibleRowIndex); 23475if ((keyData & Keys.Shift) == Keys.Shift) 23581return ProcessRightMost((keyData & Keys.Shift) == Keys.Shift, lastVisibleColumnIndex, firstVisibleRowIndex); 23585if ((keyData & Keys.Shift) == Keys.Shift) 23690return ProcessRightMost((keyData & Keys.Shift) == Keys.Shift, lastVisibleColumnIndex, firstVisibleRowIndex); 23694if ((keyData & Keys.Shift) == Keys.Shift) 23836return ProcessRightMost((keyData & Keys.Shift) == Keys.Shift, lastVisibleColumnIndex, firstVisibleRowIndex); 24248if ((keyData & (Keys.Control | Keys.Shift | Keys.Alt)) == Keys.Shift && _ptCurrentCell.X != -1) 24337if ((keyData & Keys.Shift) == Keys.Shift) 24377if ((keyData & Keys.Shift) == Keys.Shift) 24545if ((keyData & Keys.Shift) == Keys.Shift) 24637if ((keyData & Keys.Shift) == Keys.Shift) 24743if ((keyData & Keys.Shift) == Keys.Shift) 24828if ((keyData & Keys.Shift) == Keys.Shift) 24927if ((keyData & Keys.Shift) == Keys.Shift) 25046if ((keyData & Keys.Shift) == Keys.Shift) 25278if ((keyData & (Keys.Alt | Keys.Shift | Keys.Control)) == Keys.Control && IsCurrentCellInEditMode) 30013if (GetTabKeyEffective((modifierKeys & Keys.Shift) == Keys.Shift, (modifierKeys & Keys.Control) == Keys.Control))
System\Windows\Forms\Controls\DataGridView\DataGridViewTextBoxEditingControl.cs (3)
204if ((keyData & (Keys.Control | Keys.Shift | Keys.Alt)) == Keys.Shift && Multiline && AcceptsReturn) 260&& !(ModifierKeys == Keys.Shift && Multiline && AcceptsReturn))
System\Windows\Forms\Controls\Labels\LinkLabel.cs (2)
1416bool forward = (keyData & Keys.Shift) != Keys.Shift;
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (1)
3231if (keyData.HasFlag(Keys.Shift))
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (6)
1547if ((modifiers & ~Keys.Shift) != 0) 2503&& (e.Modifiers & ~Keys.Shift) != 0) 2920if (entry is not null && e.KeyData == (Keys.C | Keys.Alt | Keys.Shift | Keys.Control)) 3123if ((ModifierKeys & (Keys.Shift | Keys.Alt)) != 0 || MouseButtons != MouseButtons.None) 3836bool forward = (keyData & Keys.Shift) == 0; 5342if (_selectedGridEntry is not null && (ModifierKeys & Keys.Shift) == 0)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.DropDownHolder.cs (1)
525if ((keyData & (Keys.Shift | Keys.Control | Keys.Alt)) == 0)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.GridViewTextBox.cs (7)
187if (((keyData & Keys.Control) != 0) && ((keyData & Keys.Shift) == 0) && ((keyData & Keys.Alt) == 0)) 195if (((keyData & Keys.Control) != 0) && ((keyData & Keys.Shift) == 0) && ((keyData & Keys.Alt) == 0)) 206if (((keyData & Keys.Control) != 0) ^ ((keyData & Keys.Shift) == 0)) 215if (((keyData & Keys.Control) == 0) && ((keyData & Keys.Shift) != 0) && ((keyData & Keys.Alt) == 0)) 219else if (((keyData & Keys.Control) == 0) && ((keyData & Keys.Shift) == 0) && ((keyData & Keys.Alt) == 0)) 244if ((keyData & (Keys.Shift | Keys.Control | Keys.Alt)) == 0) 354if (PropertyGridView.EditTextBoxNeedsCommit || PropertyGridView.WantsTab(forward: (ModifierKeys & Keys.Shift) == 0))
System\Windows\Forms\Controls\RichTextBox\RichTextBox.OleCallback.cs (2)
117if ((modifierKeys & Keys.Shift) == Keys.Shift)
System\Windows\Forms\Controls\TabControl\TabControl.cs (1)
1378bool forward = (ke.KeyData & Keys.Shift) == 0;
System\Windows\Forms\Controls\TextBox\MaskedTextBox.cs (1)
1907case Keys.Shift:
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (2)
187(int)keyData == (shortcutValue | (int)Keys.Shift)) 209if (!ReadOnly && (keyData == (Keys.Control | Keys.Back) || keyData == (Keys.Control | Keys.Shift | Keys.Back)))
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (2)
2722&& ToolStripManager.SelectNextToolStrip(this, forward: (keyData & Keys.Shift) == Keys.None)) 2778retVal = ProcessTabKey((keyData & Keys.Shift) == Keys.None);
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.cs (1)
698if (modifiers == Keys.Shift)
System\Windows\Forms\Controls\TrackBar\TrackBar.cs (1)
925if ((ModifierKeys & (Keys.Shift | Keys.Alt)) != 0 || MouseButtons != MouseButtons.None)
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (1)
733if ((ModifierKeys & (Keys.Shift | Keys.Alt)) != 0 || MouseButtons != MouseButtons.None)
System\Windows\Forms\Input\KeyEventArgs.cs (2)
79public virtual bool Shift => (KeyData & Keys.Shift) == Keys.Shift;
System\Windows\Forms\Input\KeysConverter.cs (1)
60AddLocalizedKey(nameof(SR.toStringShift), Keys.Shift);
System\Windows\Forms\Input\PreviewKeyDownEventArgs.cs (2)
63public bool Shift => (KeyData & Keys.Shift) == Keys.Shift;
System\Windows\Forms\Layout\Containers\ContainerControl.cs (1)
1201if (ProcessTabKey((keyData & Keys.Shift) == Keys.None))
System\Windows\Forms\Layout\Containers\SplitContainer.cs (1)
2305if (ProcessTabKey((keyData & Keys.Shift) == Keys.None))
System\Windows\Forms\SendKeys\SendKeys.cs (3)
71new("%", (Keys.D5 | Keys.Shift)), 72new("^", (Keys.D6 | Keys.Shift)), 486if (haveKeys.HaveShift == 0 && (vk & (int)Keys.Shift) != 0)
System\Windows\Forms\Shortcut.cs (62)
149CtrlShiftA = Keys.Control + Keys.Shift + Keys.A, 154CtrlShiftB = Keys.Control + Keys.Shift + Keys.B, 159CtrlShiftC = Keys.Control + Keys.Shift + Keys.C, 164CtrlShiftD = Keys.Control + Keys.Shift + Keys.D, 169CtrlShiftE = Keys.Control + Keys.Shift + Keys.E, 174CtrlShiftF = Keys.Control + Keys.Shift + Keys.F, 179CtrlShiftG = Keys.Control + Keys.Shift + Keys.G, 184CtrlShiftH = Keys.Control + Keys.Shift + Keys.H, 189CtrlShiftI = Keys.Control + Keys.Shift + Keys.I, 194CtrlShiftJ = Keys.Control + Keys.Shift + Keys.J, 199CtrlShiftK = Keys.Control + Keys.Shift + Keys.K, 204CtrlShiftL = Keys.Control + Keys.Shift + Keys.L, 209CtrlShiftM = Keys.Control + Keys.Shift + Keys.M, 214CtrlShiftN = Keys.Control + Keys.Shift + Keys.N, 219CtrlShiftO = Keys.Control + Keys.Shift + Keys.O, 224CtrlShiftP = Keys.Control + Keys.Shift + Keys.P, 229CtrlShiftQ = Keys.Control + Keys.Shift + Keys.Q, 234CtrlShiftR = Keys.Control + Keys.Shift + Keys.R, 239CtrlShiftS = Keys.Control + Keys.Shift + Keys.S, 244CtrlShiftT = Keys.Control + Keys.Shift + Keys.T, 249CtrlShiftU = Keys.Control + Keys.Shift + Keys.U, 254CtrlShiftV = Keys.Control + Keys.Shift + Keys.V, 259CtrlShiftW = Keys.Control + Keys.Shift + Keys.W, 264CtrlShiftX = Keys.Control + Keys.Shift + Keys.X, 269CtrlShiftY = Keys.Control + Keys.Shift + Keys.Y, 274CtrlShiftZ = Keys.Control + Keys.Shift + Keys.Z, 335ShiftF1 = Keys.Shift + Keys.F1, 340ShiftF2 = Keys.Shift + Keys.F2, 345ShiftF3 = Keys.Shift + Keys.F3, 350ShiftF4 = Keys.Shift + Keys.F4, 355ShiftF5 = Keys.Shift + Keys.F5, 360ShiftF6 = Keys.Shift + Keys.F6, 365ShiftF7 = Keys.Shift + Keys.F7, 370ShiftF8 = Keys.Shift + Keys.F8, 375ShiftF9 = Keys.Shift + Keys.F9, 380ShiftF10 = Keys.Shift + Keys.F10, 385ShiftF11 = Keys.Shift + Keys.F11, 390ShiftF12 = Keys.Shift + Keys.F12, 455CtrlShiftF1 = Keys.Control + Keys.Shift + Keys.F1, 460CtrlShiftF2 = Keys.Control + Keys.Shift + Keys.F2, 465CtrlShiftF3 = Keys.Control + Keys.Shift + Keys.F3, 470CtrlShiftF4 = Keys.Control + Keys.Shift + Keys.F4, 475CtrlShiftF5 = Keys.Control + Keys.Shift + Keys.F5, 480CtrlShiftF6 = Keys.Control + Keys.Shift + Keys.F6, 485CtrlShiftF7 = Keys.Control + Keys.Shift + Keys.F7, 490CtrlShiftF8 = Keys.Control + Keys.Shift + Keys.F8, 495CtrlShiftF9 = Keys.Control + Keys.Shift + Keys.F9, 500CtrlShiftF10 = Keys.Control + Keys.Shift + Keys.F10, 505CtrlShiftF11 = Keys.Control + Keys.Shift + Keys.F11, 510CtrlShiftF12 = Keys.Control + Keys.Shift + Keys.F12, 525ShiftIns = Keys.Shift + Keys.Insert, 540ShiftDel = Keys.Shift + Keys.Delete, 730CtrlShift0 = Keys.Control + Keys.Shift + Keys.D0, 735CtrlShift1 = Keys.Control + Keys.Shift + Keys.D1, 740CtrlShift2 = Keys.Control + Keys.Shift + Keys.D2, 745CtrlShift3 = Keys.Control + Keys.Shift + Keys.D3, 750CtrlShift4 = Keys.Control + Keys.Shift + Keys.D4, 755CtrlShift5 = Keys.Control + Keys.Shift + Keys.D5, 760CtrlShift6 = Keys.Control + Keys.Shift + Keys.D6, 765CtrlShift7 = Keys.Control + Keys.Shift + Keys.D7, 770CtrlShift8 = Keys.Control + Keys.Shift + Keys.D8, 775CtrlShift9 = Keys.Control + Keys.Shift + Keys.D9,
System.Windows.Forms.Design (16)
System\ComponentModel\Design\MultilineStringEditor.MultilineStringEditorUI.cs (1)
76if ((keyData & (Keys.Shift | Keys.Alt)) == 0)
System\ComponentModel\Design\SelectionService.cs (2)
373fToggle = (Control.ModifierKeys & (Keys.Control | Keys.Shift)) > 0; 374fAdd |= Control.ModifierKeys == Keys.Shift;
System\Drawing\Design\ColorEditor.ColorUI.cs (1)
341bool forward = (keyData & Keys.Shift) == 0;
System\Drawing\Design\ContentAlignmentEditor.ContentUI.cs (1)
431int nextTabIndex = CheckedControl.TabIndex + ((keyData & Keys.Shift) == 0 ? 1 : -1);
System\Windows\Forms\Design\AnchorEditor.AnchorUI.cs (1)
316i += (keyData & Keys.Shift) == 0 ? 1 : -1;
System\Windows\Forms\Design\ControlDesigner.cs (1)
1332bool shiftSelect = (Control.ModifierKeys & Keys.Shift) != 0;
System\Windows\Forms\Design\DockEditor.DockUI.cs (1)
252i += (keyData & Keys.Shift) == 0 ? 1 : -1;
System\Windows\Forms\Design\ShortcutKeysEditor.ShortcutKeysUI.cs (3)
265if (keyModifiers == Keys.Shift && 329_shiftCheckBox.Checked = (keys & Keys.Shift) != 0; 374valueKeys |= Keys.Shift;
System\Windows\Forms\Design\ToolStripItemBehavior.cs (2)
352bool removeSel = (Control.ModifierKeys & (Keys.Control | Keys.Shift)) > 0; 381bool shiftPressed = (Control.ModifierKeys & Keys.Shift) > 0;
System\Windows\Forms\Design\ToolStripKeyboardHandlingService.cs (2)
702bool shiftPressed = (Control.ModifierKeys & Keys.Shift) > 0; 747bool shiftPressed = (Control.ModifierKeys & Keys.Shift) > 0;
System\Windows\Forms\Design\ToolStripTemplateNode.cs (1)
1721retVal = ProcessTabKey((keyData & Keys.Shift) == Keys.None);
System.Windows.Forms.Tests (44)
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (4)
1038yield return new object[] { RightToLeft.Yes, valueChanged, multiline, acceptsReturn, Keys.Enter | Keys.Shift | Keys.Control, dataGridViewWantsInputKey, !dataGridViewWantsInputKey }; 1039yield return new object[] { RightToLeft.No, valueChanged, multiline, acceptsReturn, Keys.Enter | Keys.Shift | Keys.Control, dataGridViewWantsInputKey, !dataGridViewWantsInputKey }; 1040yield return new object[] { RightToLeft.Yes, valueChanged, multiline, acceptsReturn, Keys.Enter | Keys.Shift, dataGridViewWantsInputKey, !dataGridViewWantsInputKey || (multiline && acceptsReturn) }; 1041yield return new object[] { RightToLeft.No, valueChanged, multiline, acceptsReturn, Keys.Enter | Keys.Shift, dataGridViewWantsInputKey, !dataGridViewWantsInputKey || (multiline && acceptsReturn) };
System\Windows\Forms\KeyEventArgsTests.cs (6)
13[InlineData(Keys.Shift | Keys.A)] 16[InlineData(Keys.Shift)] 17[InlineData(Keys.Control | Keys.Alt | Keys.Shift | Keys.A)] 21[InlineData(Keys.Control | Keys.Alt | Keys.Shift | (Keys)(0x5D))] 28Assert.Equal((keyData & Keys.Shift) == Keys.Shift, e.Shift);
System\Windows\Forms\KeysConverterTests.cs (10)
13[InlineData("Ctrl+Alt+Shift+A", Keys.Control | Keys.Alt | Keys.Shift | Keys.A)] 14[InlineData("Ctrl+Alt+Shift+F1", Keys.Control | Keys.Alt | Keys.Shift | Keys.F1)] 62[InlineData(Keys.Control | Keys.Alt | Keys.Shift | Keys.A, "Ctrl+Alt+Shift+A")] 63[InlineData(Keys.Control | Keys.Alt | Keys.Shift | Keys.F1, "Ctrl+Alt+Shift+F1")] 64[InlineData(Keys.F2 | Keys.Shift | Keys.Alt | Keys.Control, "Ctrl+Alt+Shift+F2")] 92yield return new object[] { "ru-RU", Keys.Control | Keys.Alt | Keys.Shift | Keys.A, new Enum[] { Keys.Control, Keys.Alt, Keys.Shift, Keys.A } }; 93yield return new object[] { "zh-TW", Keys.Control | Keys.Alt | Keys.Shift | Keys.F1, new Enum[] { Keys.Control, Keys.Alt, Keys.Shift, Keys.F1 } }; 148Keys.F9, Keys.Home, Keys.Insert, Keys.Next, Keys.PageUp, Keys.Shift
System\Windows\Forms\PreviewKeyDownEventArgsTests.cs (6)
13[InlineData(Keys.Shift | Keys.A)] 16[InlineData(Keys.Shift)] 17[InlineData(Keys.Control | Keys.Alt | Keys.Shift | Keys.A)] 21[InlineData(Keys.Control | Keys.Alt | Keys.Shift | (Keys)(0x5D))] 28Assert.Equal((keyData & Keys.Shift) == Keys.Shift, e.Shift);
System\Windows\Forms\ToolStripMenuItemTests.cs (4)
128[InlineData(Keys.Control | Keys.Alt | Keys.Shift | Keys.A)] 129[InlineData(Keys.Control | Keys.Alt | Keys.Shift | Keys.F1)] 141[InlineData(Keys.Control | Keys.Alt | Keys.Shift)] 158item.ShortcutKeys = Keys.Control | Keys.Shift | Keys.K;
System\Windows\Forms\ToolStripTests.cs (2)
4864toolStrip.TestAccessor().Dynamic.LastKeyData = Keys.Shift | Keys.Tab; 4885toolStrip.TestAccessor().Dynamic.LastKeyData = Keys.Shift | Keys.Tab;
TextBoxBaseTests.cs (12)
5825yield return new object[] { shortcutsEnabled, readOnly, (Keys)Shortcut.CtrlZ | Keys.Shift, !shortcutsEnabled }; 5826yield return new object[] { shortcutsEnabled, readOnly, (Keys)Shortcut.CtrlC | Keys.Shift, !shortcutsEnabled }; 5827yield return new object[] { shortcutsEnabled, readOnly, (Keys)Shortcut.CtrlX | Keys.Shift, !shortcutsEnabled }; 5828yield return new object[] { shortcutsEnabled, readOnly, (Keys)Shortcut.CtrlV | Keys.Shift, !shortcutsEnabled }; 5829yield return new object[] { shortcutsEnabled, readOnly, (Keys)Shortcut.CtrlA | Keys.Shift, !shortcutsEnabled }; 5830yield return new object[] { shortcutsEnabled, readOnly, (Keys)Shortcut.CtrlL | Keys.Shift, !shortcutsEnabled }; 5831yield return new object[] { shortcutsEnabled, readOnly, (Keys)Shortcut.CtrlR | Keys.Shift, !shortcutsEnabled }; 5832yield return new object[] { shortcutsEnabled, readOnly, (Keys)Shortcut.CtrlE | Keys.Shift, !shortcutsEnabled }; 5833yield return new object[] { shortcutsEnabled, readOnly, (Keys)Shortcut.CtrlY | Keys.Shift, !shortcutsEnabled }; 5834yield return new object[] { shortcutsEnabled, readOnly, (Keys)Shortcut.CtrlDel | Keys.Shift, !shortcutsEnabled }; 5835yield return new object[] { shortcutsEnabled, readOnly, (Keys)Shortcut.CtrlJ | Keys.Shift, !shortcutsEnabled }; 5838yield return new object[] { shortcutsEnabled, readOnly, Keys.Control | Keys.Shift | Keys.Back, !shortcutsEnabled || !readOnly };
WindowsFormsIntegration (2)
System\Windows\Integration\Convert.cs (2)
200if ((keyData & SWF.Keys.Shift) == SWF.Keys.Shift)