295 references to Shift
DesignSurface (1)
MainForm.Designer.cs (1)
250
this.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)
86
Return CType(keys And Keys.
Shift
, Boolean)
System.Windows.Forms (231)
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (1)
379
target.SelectNextControl(null, ModifierKeys != Keys.
Shift
, tabStopOnly: true, nested: true, wrap: true);
System\Windows\Forms\Control.cs (1)
2515
modifiers |= Keys.
Shift
;
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (1)
2940
&& (keyData == (Keys.Control | Keys.Back) || keyData == (Keys.Control | Keys.
Shift
| Keys.Back)))
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (125)
10081
return GetTabKeyEffective((keyData & Keys.
Shift
) == Keys.
Shift
, (keyData & Keys.Control) == Keys.Control);
10086
if ((keyData & (Keys.Control | Keys.
Shift
| Keys.Alt)) == Keys.Control)
10097
if ((keyData & (Keys.Control | Keys.
Shift
| Keys.Alt)) == Keys.Control)
10107
if ((keyData & (Keys.Control | Keys.
Shift
| Keys.Alt)) == Keys.
Shift
11897
bool isShiftDown = (nModifier & Keys.
Shift
) == Keys.
Shift
;
16460
if ((ModifierKeys & (Keys.
Shift
| Keys.Alt)) != 0 || MouseButtons != MouseButtons.None)
19918
if ((keyData & (Keys.
Shift
| Keys.Control | Keys.Alt)) == Keys.Control && MultiSelect)
20176
if ((keyData & Keys.
Shift
) == Keys.
Shift
)
20299
if ((keyData & Keys.
Shift
) == Keys.
Shift
)
20429
if ((keyData & Keys.
Shift
) == Keys.
Shift
)
20541
if ((keyData & Keys.
Shift
) == Keys.
Shift
)
20665
if ((keyData & Keys.
Shift
) == Keys.
Shift
)
20811
if ((keyData & Keys.
Shift
) == Keys.
Shift
)
21090
return ProcessRightMost((keyData & Keys.
Shift
) == Keys.
Shift
, lastVisibleColumnIndex, firstVisibleRowIndex);
21104
if ((keyData & Keys.
Shift
) == Keys.
Shift
)
21139
return ProcessRightMost((keyData & Keys.
Shift
) == Keys.
Shift
, lastVisibleColumnIndex, firstVisibleRowIndex);
21153
if ((keyData & Keys.
Shift
) == Keys.
Shift
)
21216
return ProcessRightMost((keyData & Keys.
Shift
) == Keys.
Shift
, lastVisibleColumnIndex, firstVisibleRowIndex);
21231
if ((keyData & Keys.
Shift
) == Keys.
Shift
)
21256
return ProcessRightMost((keyData & Keys.
Shift
) == Keys.
Shift
, lastVisibleColumnIndex, firstVisibleRowIndex);
21260
if ((keyData & Keys.
Shift
) == Keys.
Shift
)
21347
return ProcessRightMost((keyData & Keys.
Shift
) == Keys.
Shift
, lastVisibleColumnIndex, firstVisibleRowIndex);
21362
if ((keyData & Keys.
Shift
) == Keys.
Shift
)
21409
keyData &= ~Keys.
Shift
;
21564
return ProcessLeftMost((keyData & Keys.
Shift
) == Keys.
Shift
, firstVisibleColumnIndex, firstVisibleRowIndex);
21578
if ((keyData & Keys.
Shift
) == Keys.
Shift
)
21613
return ProcessLeftMost((keyData & Keys.
Shift
) == Keys.
Shift
, firstVisibleColumnIndex, firstVisibleRowIndex);
21627
if ((keyData & Keys.
Shift
) == Keys.
Shift
)
21690
return ProcessLeftMost((keyData & Keys.
Shift
) == Keys.
Shift
, firstVisibleColumnIndex, firstVisibleRowIndex);
21705
if ((keyData & Keys.
Shift
) == Keys.
Shift
)
21735
return ProcessLeftMost((keyData & Keys.
Shift
) == Keys.
Shift
, firstVisibleColumnIndex, firstVisibleRowIndex);
21739
if ((keyData & Keys.
Shift
) == Keys.
Shift
)
21826
return ProcessLeftMost((keyData & Keys.
Shift
) == Keys.
Shift
, firstVisibleColumnIndex, firstVisibleRowIndex);
21858
if (((keyData & (Keys.
Shift
| Keys.Control | Keys.Alt)) == Keys.Control
21859
|| ((keyData & (Keys.
Shift
| Keys.Control | Keys.Alt)) == (Keys.Control | Keys.
Shift
)
22103
return ProcessLeftMost((keyData & Keys.
Shift
) == Keys.
Shift
, firstVisibleColumnIndex, firstVisibleRowIndex);
22107
if ((keyData & Keys.
Shift
) == Keys.
Shift
)
22214
return ProcessLeftMost((keyData & Keys.
Shift
) == Keys.
Shift
, firstVisibleColumnIndex, firstVisibleRowIndex);
22218
if ((keyData & Keys.
Shift
) == Keys.
Shift
)
22323
return ProcessLeftMost((keyData & Keys.
Shift
) == Keys.
Shift
, firstVisibleColumnIndex, firstVisibleRowIndex);
22327
if ((keyData & Keys.
Shift
) == Keys.
Shift
)
22467
return ProcessLeftMost((keyData & Keys.
Shift
) == Keys.
Shift
, firstVisibleColumnIndex, firstVisibleRowIndex);
23031
if ((keyData & Keys.
Shift
) == Keys.
Shift
&& MultiSelect)
23071
if ((keyData & Keys.
Shift
) == Keys.
Shift
&& MultiSelect)
23107
if ((keyData & Keys.
Shift
) == Keys.
Shift
&& MultiSelect)
23290
if ((keyData & Keys.
Shift
) == Keys.
Shift
&& MultiSelect)
23329
if ((keyData & Keys.
Shift
) == Keys.
Shift
&& MultiSelect)
23365
if ((keyData & Keys.
Shift
) == Keys.
Shift
&& MultiSelect)
23482
return ProcessRightMost((keyData & Keys.
Shift
) == Keys.
Shift
, lastVisibleColumnIndex, firstVisibleRowIndex);
23486
if ((keyData & Keys.
Shift
) == Keys.
Shift
)
23592
return ProcessRightMost((keyData & Keys.
Shift
) == Keys.
Shift
, lastVisibleColumnIndex, firstVisibleRowIndex);
23596
if ((keyData & Keys.
Shift
) == Keys.
Shift
)
23701
return ProcessRightMost((keyData & Keys.
Shift
) == Keys.
Shift
, lastVisibleColumnIndex, firstVisibleRowIndex);
23705
if ((keyData & Keys.
Shift
) == Keys.
Shift
)
23847
return ProcessRightMost((keyData & Keys.
Shift
) == Keys.
Shift
, lastVisibleColumnIndex, firstVisibleRowIndex);
24259
if ((keyData & (Keys.Control | Keys.
Shift
| Keys.Alt)) == Keys.
Shift
&& _ptCurrentCell.X != -1)
24348
if ((keyData & Keys.
Shift
) == Keys.
Shift
)
24388
if ((keyData & Keys.
Shift
) == Keys.
Shift
)
24556
if ((keyData & Keys.
Shift
) == Keys.
Shift
)
24648
if ((keyData & Keys.
Shift
) == Keys.
Shift
)
24754
if ((keyData & Keys.
Shift
) == Keys.
Shift
)
24839
if ((keyData & Keys.
Shift
) == Keys.
Shift
)
24938
if ((keyData & Keys.
Shift
) == Keys.
Shift
)
25057
if ((keyData & Keys.
Shift
) == Keys.
Shift
)
25289
if ((keyData & (Keys.Alt | Keys.
Shift
| Keys.Control)) == Keys.Control && IsCurrentCellInEditMode)
30021
if (GetTabKeyEffective((modifierKeys & Keys.
Shift
) == Keys.
Shift
, (modifierKeys & Keys.Control) == Keys.Control))
System\Windows\Forms\Controls\DataGridView\DataGridViewTextBoxEditingControl.cs (3)
199
if ((keyData & (Keys.Control | Keys.
Shift
| Keys.Alt)) == Keys.
Shift
&& Multiline && AcceptsReturn)
255
&& !(ModifierKeys == Keys.
Shift
&& Multiline && AcceptsReturn))
System\Windows\Forms\Controls\Labels\LinkLabel.cs (2)
1416
bool forward = (keyData & Keys.
Shift
) != Keys.
Shift
;
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (1)
3225
if (keyData.HasFlag(Keys.
Shift
))
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (6)
1547
if ((modifiers & ~Keys.
Shift
) != 0)
2504
&& (e.Modifiers & ~Keys.
Shift
) != 0)
2929
if (e.KeyData == (Keys.C | Keys.Alt | Keys.
Shift
| Keys.Control))
3133
if ((ModifierKeys & (Keys.
Shift
| Keys.Alt)) != 0 || MouseButtons != MouseButtons.None)
3846
bool forward = (keyData & Keys.
Shift
) == 0;
5339
if (_selectedGridEntry is not null && (ModifierKeys & Keys.
Shift
) == 0)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.DropDownHolder.cs (1)
525
if ((keyData & (Keys.
Shift
| Keys.Control | Keys.Alt)) == 0)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.GridViewTextBox.cs (7)
190
if (((keyData & Keys.Control) != 0) && ((keyData & Keys.
Shift
) == 0) && ((keyData & Keys.Alt) == 0))
198
if (((keyData & Keys.Control) != 0) && ((keyData & Keys.
Shift
) == 0) && ((keyData & Keys.Alt) == 0))
209
if (((keyData & Keys.Control) != 0) ^ ((keyData & Keys.
Shift
) == 0))
218
if (((keyData & Keys.Control) == 0) && ((keyData & Keys.
Shift
) != 0) && ((keyData & Keys.Alt) == 0))
222
else if (((keyData & Keys.Control) == 0) && ((keyData & Keys.
Shift
) == 0) && ((keyData & Keys.Alt) == 0))
247
if ((keyData & (Keys.
Shift
| Keys.Control | Keys.Alt)) == 0)
357
if (PropertyGridView.EditTextBoxNeedsCommit || PropertyGridView.WantsTab(forward: (ModifierKeys & Keys.
Shift
) == 0))
System\Windows\Forms\Controls\RichTextBox\RichTextBox.OleCallback.cs (2)
116
if ((modifierKeys & Keys.
Shift
) == Keys.
Shift
)
System\Windows\Forms\Controls\TabControl\TabControl.cs (1)
1378
bool forward = (ke.KeyData & Keys.
Shift
) == 0;
System\Windows\Forms\Controls\TextBox\MaskedTextBox.cs (1)
1901
case Keys.
Shift
:
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (2)
187
(int)keyData == (shortcutValue | (int)Keys.
Shift
))
209
if (!ReadOnly && (keyData == (Keys.Control | Keys.Back) || keyData == (Keys.Control | Keys.
Shift
| Keys.Back)))
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (2)
2719
&& ToolStripManager.SelectNextToolStrip(this, forward: (keyData & Keys.
Shift
) == Keys.None))
2775
retVal = ProcessTabKey((keyData & Keys.
Shift
) == Keys.None);
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.cs (1)
694
if (modifiers == Keys.
Shift
)
System\Windows\Forms\Controls\TrackBar\TrackBar.cs (1)
924
if ((ModifierKeys & (Keys.
Shift
| Keys.Alt)) != 0 || MouseButtons != MouseButtons.None)
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (1)
733
if ((ModifierKeys & (Keys.
Shift
| Keys.Alt)) != 0 || MouseButtons != MouseButtons.None)
System\Windows\Forms\Input\KeyEventArgs.cs (2)
79
public virtual bool Shift => (KeyData & Keys.
Shift
) == Keys.
Shift
;
System\Windows\Forms\Input\KeysConverter.cs (1)
60
AddLocalizedKey(nameof(SR.toStringShift), Keys.
Shift
);
System\Windows\Forms\Input\PreviewKeyDownEventArgs.cs (2)
63
public bool Shift => (KeyData & Keys.
Shift
) == Keys.
Shift
;
System\Windows\Forms\Layout\Containers\ContainerControl.cs (1)
1194
if (ProcessTabKey((keyData & Keys.
Shift
) == Keys.None))
System\Windows\Forms\Layout\Containers\SplitContainer.cs (1)
2305
if (ProcessTabKey((keyData & Keys.
Shift
) == Keys.None))
System\Windows\Forms\SendKeys\SendKeys.cs (3)
71
new("%", (Keys.D5 | Keys.
Shift
)),
72
new("^", (Keys.D6 | Keys.
Shift
)),
486
if (haveKeys.HaveShift == 0 && (vk & (int)Keys.
Shift
) != 0)
System\Windows\Forms\Shortcut.cs (62)
149
CtrlShiftA = Keys.Control + Keys.
Shift
+ Keys.A,
154
CtrlShiftB = Keys.Control + Keys.
Shift
+ Keys.B,
159
CtrlShiftC = Keys.Control + Keys.
Shift
+ Keys.C,
164
CtrlShiftD = Keys.Control + Keys.
Shift
+ Keys.D,
169
CtrlShiftE = Keys.Control + Keys.
Shift
+ Keys.E,
174
CtrlShiftF = Keys.Control + Keys.
Shift
+ Keys.F,
179
CtrlShiftG = Keys.Control + Keys.
Shift
+ Keys.G,
184
CtrlShiftH = Keys.Control + Keys.
Shift
+ Keys.H,
189
CtrlShiftI = Keys.Control + Keys.
Shift
+ Keys.I,
194
CtrlShiftJ = Keys.Control + Keys.
Shift
+ Keys.J,
199
CtrlShiftK = Keys.Control + Keys.
Shift
+ Keys.K,
204
CtrlShiftL = Keys.Control + Keys.
Shift
+ Keys.L,
209
CtrlShiftM = Keys.Control + Keys.
Shift
+ Keys.M,
214
CtrlShiftN = Keys.Control + Keys.
Shift
+ Keys.N,
219
CtrlShiftO = Keys.Control + Keys.
Shift
+ Keys.O,
224
CtrlShiftP = Keys.Control + Keys.
Shift
+ Keys.P,
229
CtrlShiftQ = Keys.Control + Keys.
Shift
+ Keys.Q,
234
CtrlShiftR = Keys.Control + Keys.
Shift
+ Keys.R,
239
CtrlShiftS = Keys.Control + Keys.
Shift
+ Keys.S,
244
CtrlShiftT = Keys.Control + Keys.
Shift
+ Keys.T,
249
CtrlShiftU = Keys.Control + Keys.
Shift
+ Keys.U,
254
CtrlShiftV = Keys.Control + Keys.
Shift
+ Keys.V,
259
CtrlShiftW = Keys.Control + Keys.
Shift
+ Keys.W,
264
CtrlShiftX = Keys.Control + Keys.
Shift
+ Keys.X,
269
CtrlShiftY = Keys.Control + Keys.
Shift
+ Keys.Y,
274
CtrlShiftZ = Keys.Control + Keys.
Shift
+ Keys.Z,
335
ShiftF1 = Keys.
Shift
+ Keys.F1,
340
ShiftF2 = Keys.
Shift
+ Keys.F2,
345
ShiftF3 = Keys.
Shift
+ Keys.F3,
350
ShiftF4 = Keys.
Shift
+ Keys.F4,
355
ShiftF5 = Keys.
Shift
+ Keys.F5,
360
ShiftF6 = Keys.
Shift
+ Keys.F6,
365
ShiftF7 = Keys.
Shift
+ Keys.F7,
370
ShiftF8 = Keys.
Shift
+ Keys.F8,
375
ShiftF9 = Keys.
Shift
+ Keys.F9,
380
ShiftF10 = Keys.
Shift
+ Keys.F10,
385
ShiftF11 = Keys.
Shift
+ Keys.F11,
390
ShiftF12 = Keys.
Shift
+ Keys.F12,
455
CtrlShiftF1 = Keys.Control + Keys.
Shift
+ Keys.F1,
460
CtrlShiftF2 = Keys.Control + Keys.
Shift
+ Keys.F2,
465
CtrlShiftF3 = Keys.Control + Keys.
Shift
+ Keys.F3,
470
CtrlShiftF4 = Keys.Control + Keys.
Shift
+ Keys.F4,
475
CtrlShiftF5 = Keys.Control + Keys.
Shift
+ Keys.F5,
480
CtrlShiftF6 = Keys.Control + Keys.
Shift
+ Keys.F6,
485
CtrlShiftF7 = Keys.Control + Keys.
Shift
+ Keys.F7,
490
CtrlShiftF8 = Keys.Control + Keys.
Shift
+ Keys.F8,
495
CtrlShiftF9 = Keys.Control + Keys.
Shift
+ Keys.F9,
500
CtrlShiftF10 = Keys.Control + Keys.
Shift
+ Keys.F10,
505
CtrlShiftF11 = Keys.Control + Keys.
Shift
+ Keys.F11,
510
CtrlShiftF12 = Keys.Control + Keys.
Shift
+ Keys.F12,
525
ShiftIns = Keys.
Shift
+ Keys.Insert,
540
ShiftDel = Keys.
Shift
+ Keys.Delete,
730
CtrlShift0 = Keys.Control + Keys.
Shift
+ Keys.D0,
735
CtrlShift1 = Keys.Control + Keys.
Shift
+ Keys.D1,
740
CtrlShift2 = Keys.Control + Keys.
Shift
+ Keys.D2,
745
CtrlShift3 = Keys.Control + Keys.
Shift
+ Keys.D3,
750
CtrlShift4 = Keys.Control + Keys.
Shift
+ Keys.D4,
755
CtrlShift5 = Keys.Control + Keys.
Shift
+ Keys.D5,
760
CtrlShift6 = Keys.Control + Keys.
Shift
+ Keys.D6,
765
CtrlShift7 = Keys.Control + Keys.
Shift
+ Keys.D7,
770
CtrlShift8 = Keys.Control + Keys.
Shift
+ Keys.D8,
775
CtrlShift9 = Keys.Control + Keys.
Shift
+ Keys.D9,
System.Windows.Forms.Design (16)
System\ComponentModel\Design\MultilineStringEditor.MultilineStringEditorUI.cs (1)
76
if ((keyData & (Keys.
Shift
| Keys.Alt)) == 0)
System\ComponentModel\Design\SelectionService.cs (2)
373
fToggle = (Control.ModifierKeys & (Keys.Control | Keys.
Shift
)) > 0;
374
fAdd |= Control.ModifierKeys == Keys.
Shift
;
System\Drawing\Design\ColorEditor.ColorUI.cs (1)
341
bool forward = (keyData & Keys.
Shift
) == 0;
System\Drawing\Design\ContentAlignmentEditor.ContentUI.cs (1)
431
int nextTabIndex = CheckedControl.TabIndex + ((keyData & Keys.
Shift
) == 0 ? 1 : -1);
System\Windows\Forms\Design\AnchorEditor.AnchorUI.cs (1)
316
i += (keyData & Keys.
Shift
) == 0 ? 1 : -1;
System\Windows\Forms\Design\ControlDesigner.cs (1)
1347
bool shiftSelect = (Control.ModifierKeys & Keys.
Shift
) != 0;
System\Windows\Forms\Design\DockEditor.DockUI.cs (1)
252
i += (keyData & Keys.
Shift
) == 0 ? 1 : -1;
System\Windows\Forms\Design\ShortcutKeysEditor.ShortcutKeysUI.cs (3)
265
if (keyModifiers == Keys.
Shift
&&
329
_shiftCheckBox.Checked = (keys & Keys.
Shift
) != 0;
374
valueKeys |= Keys.
Shift
;
System\Windows\Forms\Design\ToolStripItemBehavior.cs (2)
352
bool removeSel = (Control.ModifierKeys & (Keys.Control | Keys.
Shift
)) > 0;
381
bool shiftPressed = (Control.ModifierKeys & Keys.
Shift
) > 0;
System\Windows\Forms\Design\ToolStripKeyboardHandlingService.cs (2)
686
bool shiftPressed = (Control.ModifierKeys & Keys.
Shift
) > 0;
731
bool shiftPressed = (Control.ModifierKeys & Keys.
Shift
) > 0;
System\Windows\Forms\Design\ToolStripTemplateNode.cs (1)
1682
retVal = ProcessTabKey((keyData & Keys.
Shift
) == Keys.None);
System.Windows.Forms.Tests (44)
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (4)
1040
yield return new object[] { RightToLeft.Yes, valueChanged, multiline, acceptsReturn, Keys.Enter | Keys.
Shift
| Keys.Control, dataGridViewWantsInputKey, !dataGridViewWantsInputKey };
1041
yield return new object[] { RightToLeft.No, valueChanged, multiline, acceptsReturn, Keys.Enter | Keys.
Shift
| Keys.Control, dataGridViewWantsInputKey, !dataGridViewWantsInputKey };
1042
yield return new object[] { RightToLeft.Yes, valueChanged, multiline, acceptsReturn, Keys.Enter | Keys.
Shift
, dataGridViewWantsInputKey, !dataGridViewWantsInputKey || (multiline && acceptsReturn) };
1043
yield return new object[] { RightToLeft.No, valueChanged, multiline, acceptsReturn, Keys.Enter | Keys.
Shift
, dataGridViewWantsInputKey, !dataGridViewWantsInputKey || (multiline && acceptsReturn) };
System\Windows\Forms\KeyEventArgsTests.cs (6)
15
[InlineData(Keys.
Shift
| Keys.A)]
18
[InlineData(Keys.
Shift
)]
19
[InlineData(Keys.Control | Keys.Alt | Keys.
Shift
| Keys.A)]
23
[InlineData(Keys.Control | Keys.Alt | Keys.
Shift
| (Keys)(0x5D))]
30
Assert.Equal((keyData & Keys.
Shift
) == Keys.
Shift
, e.Shift);
System\Windows\Forms\KeysConverterTests.cs (10)
15
[InlineData("Ctrl+Alt+Shift+A", Keys.Control | Keys.Alt | Keys.
Shift
| Keys.A)]
16
[InlineData("Ctrl+Alt+Shift+F1", Keys.Control | Keys.Alt | Keys.
Shift
| Keys.F1)]
34
[InlineData(Keys.Control | Keys.Alt | Keys.
Shift
| Keys.A, "Ctrl+Alt+Shift+A")]
35
[InlineData(Keys.Control | Keys.Alt | Keys.
Shift
| Keys.F1, "Ctrl+Alt+Shift+F1")]
36
[InlineData(Keys.F2 | Keys.
Shift
| Keys.Alt | Keys.Control, "Ctrl+Alt+Shift+F2")]
51
yield return new object[] { "ru-RU", Keys.Control | Keys.Alt | Keys.
Shift
| Keys.A, new Enum[] { Keys.Control, Keys.Alt, Keys.
Shift
, Keys.A } };
52
yield return new object[] { "zh-TW", Keys.Control | Keys.Alt | Keys.
Shift
| Keys.F1, new Enum[] { Keys.Control, Keys.Alt, Keys.
Shift
, Keys.F1 } };
107
Keys.F9, Keys.Home, Keys.Insert, Keys.Next, Keys.PageUp, Keys.
Shift
System\Windows\Forms\PreviewKeyDownEventArgsTests.cs (6)
15
[InlineData(Keys.
Shift
| Keys.A)]
18
[InlineData(Keys.
Shift
)]
19
[InlineData(Keys.Control | Keys.Alt | Keys.
Shift
| Keys.A)]
23
[InlineData(Keys.Control | Keys.Alt | Keys.
Shift
| (Keys)(0x5D))]
30
Assert.Equal((keyData & Keys.
Shift
) == Keys.
Shift
, e.Shift);
System\Windows\Forms\ToolStripMenuItemTests.cs (4)
126
[InlineData(Keys.Control | Keys.Alt | Keys.
Shift
| Keys.A)]
127
[InlineData(Keys.Control | Keys.Alt | Keys.
Shift
| Keys.F1)]
139
[InlineData(Keys.Control | Keys.Alt | Keys.
Shift
)]
156
item.ShortcutKeys = Keys.Control | Keys.
Shift
| Keys.K;
System\Windows\Forms\ToolStripTests.cs (2)
4866
toolStrip.TestAccessor().Dynamic.LastKeyData = Keys.
Shift
| Keys.Tab;
4887
toolStrip.TestAccessor().Dynamic.LastKeyData = Keys.
Shift
| Keys.Tab;
TextBoxBaseTests.cs (12)
5827
yield return new object[] { shortcutsEnabled, readOnly, (Keys)Shortcut.CtrlZ | Keys.
Shift
, !shortcutsEnabled };
5828
yield return new object[] { shortcutsEnabled, readOnly, (Keys)Shortcut.CtrlC | Keys.
Shift
, !shortcutsEnabled };
5829
yield return new object[] { shortcutsEnabled, readOnly, (Keys)Shortcut.CtrlX | Keys.
Shift
, !shortcutsEnabled };
5830
yield return new object[] { shortcutsEnabled, readOnly, (Keys)Shortcut.CtrlV | Keys.
Shift
, !shortcutsEnabled };
5831
yield return new object[] { shortcutsEnabled, readOnly, (Keys)Shortcut.CtrlA | Keys.
Shift
, !shortcutsEnabled };
5832
yield return new object[] { shortcutsEnabled, readOnly, (Keys)Shortcut.CtrlL | Keys.
Shift
, !shortcutsEnabled };
5833
yield return new object[] { shortcutsEnabled, readOnly, (Keys)Shortcut.CtrlR | Keys.
Shift
, !shortcutsEnabled };
5834
yield return new object[] { shortcutsEnabled, readOnly, (Keys)Shortcut.CtrlE | Keys.
Shift
, !shortcutsEnabled };
5835
yield return new object[] { shortcutsEnabled, readOnly, (Keys)Shortcut.CtrlY | Keys.
Shift
, !shortcutsEnabled };
5836
yield return new object[] { shortcutsEnabled, readOnly, (Keys)Shortcut.CtrlDel | Keys.
Shift
, !shortcutsEnabled };
5837
yield return new object[] { shortcutsEnabled, readOnly, (Keys)Shortcut.CtrlJ | Keys.
Shift
, !shortcutsEnabled };
5840
yield return new object[] { shortcutsEnabled, readOnly, Keys.Control | Keys.
Shift
| Keys.Back, !shortcutsEnabled || !readOnly };
WindowsFormsIntegration (2)
System\Windows\Integration\Convert.cs (2)
197
if ((keyData & SWF.Keys.
Shift
) == SWF.Keys.
Shift
)