258 references to Shift
System.Windows.Forms (247)
winforms\Managed\System\WinForms\ContainerControl.cs (1)
1192
if (ProcessTabKey((keyData & Keys.
Shift
) == Keys.None)) return true;
winforms\Managed\System\WinForms\Control.cs (2)
3343
if (UnsafeNativeMethods.GetKeyState((int)Keys.ShiftKey) < 0) modifiers |= Keys.
Shift
;
16599
target.SelectNextControl(null, Control.ModifierKeys != Keys.
Shift
, true, true, true);
winforms\Managed\System\WinForms\DataGrid.cs (11)
4023
bool isShiftDown = (nModifier & Keys.
Shift
) == Keys.
Shift
;
8346
if (gridState[GRIDSTATE_childLinkFocused] || (!gridState[GRIDSTATE_childLinkFocused] && (keyData & Keys.
Shift
) != Keys.
Shift
)) {
8362
if ((this.currentRow == this.DataGridRowsLength -1) && ((keyData & Keys.
Shift
) == 0)) {
8389
if (CurrentRow != 0 && (keyData & Keys.
Shift
) == Keys.
Shift
)
8418
if (this.currentRow == 0 && ((keyData & Keys.
Shift
) == Keys.
Shift
)) {
8439
if ((keyData & Keys.
Shift
) != Keys.
Shift
) {
winforms\Managed\System\WinForms\DataGridRelationshipRow.cs (3)
386
if ((keyData & Keys.Modifiers) == Keys.
Shift
&& (keyData & Keys.KeyCode) != Keys.Tab)
466
if ((keyData & Keys.
Shift
) == Keys.
Shift
) {
winforms\Managed\System\WinForms\DataGridTextBox.cs (4)
79
if (e.KeyChar == ' ' && (Control.ModifierKeys & Keys.
Shift
) == Keys.
Shift
)
192
if (IsInEditOrNavigateMode && (Control.ModifierKeys & Keys.
Shift
) == Keys.
Shift
)
winforms\Managed\System\WinForms\DataGridViewMethods.cs (125)
10257
return GetTabKeyEffective((keyData & Keys.
Shift
) == Keys.
Shift
, (keyData & Keys.Control) == Keys.Control);
10262
if ((keyData & (Keys.Control | Keys.
Shift
| Keys.Alt)) == Keys.Control)
10272
if ((keyData & (Keys.Control | Keys.
Shift
| Keys.Alt)) == Keys.Control)
10281
if ((keyData & (Keys.Control | Keys.
Shift
| Keys.Alt)) == Keys.
Shift
&&
12273
bool isShiftDown = (nModifier & Keys.
Shift
) == Keys.
Shift
;
16899
if ((ModifierKeys & (Keys.
Shift
| Keys.Alt)) != 0 || MouseButtons != MouseButtons.None)
20447
if ((keyData & (Keys.
Shift
| Keys.Control | Keys.Alt)) == Keys.Control &&
20731
if ((keyData & Keys.
Shift
) == Keys.
Shift
)
20846
if ((keyData & Keys.
Shift
) == Keys.
Shift
)
20960
if ((keyData & Keys.
Shift
) == Keys.
Shift
)
21065
if ((keyData & Keys.
Shift
) == Keys.
Shift
)
21178
if ((keyData & Keys.
Shift
) == Keys.
Shift
)
21311
if ((keyData & Keys.
Shift
) == Keys.
Shift
)
21568
return ProcessRightMost((keyData & Keys.
Shift
) == Keys.
Shift
, lastVisibleColumnIndex, firstVisibleRowIndex);
21580
if ((keyData & Keys.
Shift
) == Keys.
Shift
)
21612
return ProcessRightMost((keyData & Keys.
Shift
) == Keys.
Shift
, lastVisibleColumnIndex, firstVisibleRowIndex);
21624
if ((keyData & Keys.
Shift
) == Keys.
Shift
)
21680
return ProcessRightMost((keyData & Keys.
Shift
) == Keys.
Shift
, lastVisibleColumnIndex, firstVisibleRowIndex);
21693
if ((keyData & Keys.
Shift
) == Keys.
Shift
)
21717
return ProcessRightMost((keyData & Keys.
Shift
) == Keys.
Shift
, lastVisibleColumnIndex, firstVisibleRowIndex);
21721
if ((keyData & Keys.
Shift
) == Keys.
Shift
)
21795
return ProcessRightMost((keyData & Keys.
Shift
) == Keys.
Shift
, lastVisibleColumnIndex, firstVisibleRowIndex);
21808
if ((keyData & Keys.
Shift
) == Keys.
Shift
)
21857
keyData &= ~Keys.
Shift
;
22022
return ProcessLeftMost((keyData & Keys.
Shift
) == Keys.
Shift
, firstVisibleColumnIndex, firstVisibleRowIndex);
22034
if ((keyData & Keys.
Shift
) == Keys.
Shift
)
22066
return ProcessLeftMost((keyData & Keys.
Shift
) == Keys.
Shift
, firstVisibleColumnIndex, firstVisibleRowIndex);
22078
if ((keyData & Keys.
Shift
) == Keys.
Shift
)
22134
return ProcessLeftMost((keyData & Keys.
Shift
) == Keys.
Shift
, firstVisibleColumnIndex, firstVisibleRowIndex);
22147
if ((keyData & Keys.
Shift
) == Keys.
Shift
)
22175
return ProcessLeftMost((keyData & Keys.
Shift
) == Keys.
Shift
, firstVisibleColumnIndex, firstVisibleRowIndex);
22179
if ((keyData & Keys.
Shift
) == Keys.
Shift
)
22253
return ProcessLeftMost((keyData & Keys.
Shift
) == Keys.
Shift
, firstVisibleColumnIndex, firstVisibleRowIndex);
22286
if (((keyData & (Keys.
Shift
| Keys.Control | Keys.Alt)) == Keys.Control ||
22287
((keyData & (Keys.
Shift
| Keys.Control | Keys.Alt)) == (Keys.Control | Keys.
Shift
) && (keyData & Keys.KeyCode) == Keys.C)) &&
22535
return ProcessLeftMost((keyData & Keys.
Shift
) == Keys.
Shift
, firstVisibleColumnIndex, firstVisibleRowIndex);
22539
if ((keyData & Keys.
Shift
) == Keys.
Shift
)
22631
return ProcessLeftMost((keyData & Keys.
Shift
) == Keys.
Shift
, firstVisibleColumnIndex, firstVisibleRowIndex);
22635
if ((keyData & Keys.
Shift
) == Keys.
Shift
)
22729
return ProcessLeftMost((keyData & Keys.
Shift
) == Keys.
Shift
, firstVisibleColumnIndex, firstVisibleRowIndex);
22733
if ((keyData & Keys.
Shift
) == Keys.
Shift
)
22855
return ProcessLeftMost((keyData & Keys.
Shift
) == Keys.
Shift
, firstVisibleColumnIndex, firstVisibleRowIndex);
23349
if ((keyData & Keys.
Shift
) == Keys.
Shift
&& this.MultiSelect)
23380
if ((keyData & Keys.
Shift
) == Keys.
Shift
&& this.MultiSelect)
23413
if ((keyData & Keys.
Shift
) == Keys.
Shift
&& this.MultiSelect)
23588
if ((keyData & Keys.
Shift
) == Keys.
Shift
&& this.MultiSelect)
23619
if ((keyData & Keys.
Shift
) == Keys.
Shift
&& this.MultiSelect)
23652
if ((keyData & Keys.
Shift
) == Keys.
Shift
&& this.MultiSelect)
23774
return ProcessRightMost((keyData & Keys.
Shift
) == Keys.
Shift
, lastVisibleColumnIndex, firstVisibleRowIndex);
23778
if ((keyData & Keys.
Shift
) == Keys.
Shift
)
23869
return ProcessRightMost((keyData & Keys.
Shift
) == Keys.
Shift
, lastVisibleColumnIndex, firstVisibleRowIndex);
23873
if ((keyData & Keys.
Shift
) == Keys.
Shift
)
23967
return ProcessRightMost((keyData & Keys.
Shift
) == Keys.
Shift
, lastVisibleColumnIndex, firstVisibleRowIndex);
23971
if ((keyData & Keys.
Shift
) == Keys.
Shift
)
24096
return ProcessRightMost((keyData & Keys.
Shift
) == Keys.
Shift
, lastVisibleColumnIndex, firstVisibleRowIndex);
24466
if ((keyData & (Keys.Control | Keys.
Shift
| Keys.Alt)) == Keys.
Shift
&&
24554
if ((keyData & Keys.
Shift
) == Keys.
Shift
)
24614
if ((keyData & Keys.
Shift
) == Keys.
Shift
)
24765
if ((keyData & Keys.
Shift
) == Keys.
Shift
)
24858
if ((keyData & Keys.
Shift
) == Keys.
Shift
)
24950
if ((keyData & Keys.
Shift
) == Keys.
Shift
)
25035
if ((keyData & Keys.
Shift
) == Keys.
Shift
)
25129
if ((keyData & Keys.
Shift
) == Keys.
Shift
)
25242
if ((keyData & Keys.
Shift
) == Keys.
Shift
)
25458
if ((keyData & (Keys.Alt | Keys.
Shift
| Keys.Control)) == Keys.Control &&
29917
if (GetTabKeyEffective((modifierKeys & Keys.
Shift
) == Keys.
Shift
, (modifierKeys & Keys.Control) == Keys.Control))
winforms\Managed\System\WinForms\DataGridViewTextBoxEditingControl.cs (3)
224
if ((keyData & (Keys.Control | Keys.
Shift
| Keys.Alt)) == Keys.
Shift
&& this.Multiline && this.AcceptsReturn)
295
!(ModifierKeys == Keys.
Shift
&& this.Multiline && this.AcceptsReturn))
winforms\Managed\System\WinForms\KeyEvent.cs (2)
174
return (keyData & Keys.
Shift
) == Keys.
Shift
;
winforms\Managed\System\WinForms\KeysConverter.cs (1)
68
AddKey(SR.GetString(SR.toStringShift), Keys.
Shift
);
winforms\Managed\System\WinForms\LinkLabel.cs (2)
1557
bool forward = (keyData & Keys.
Shift
) != Keys.
Shift
;
winforms\Managed\System\WinForms\MaskedTextBox.cs (1)
2112
case Keys.
Shift
:
winforms\Managed\System\WinForms\PreviewKeyDownEventArgs.cs (2)
131
return (_keyData & Keys.
Shift
) == Keys.
Shift
;
winforms\Managed\System\WinForms\PropertyGrid.cs (1)
3749
if ((keyData & Keys.
Shift
) != 0) {
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (14)
1829
if ((int)(modifiers & ~Keys.
Shift
) != 0) {
2733
(ke.Modifiers & ~Keys.
Shift
) != 0) {
3105
if (gridEntry != null && ke.KeyData == (Keys.C | Keys.Alt | Keys.
Shift
| Keys.Control)) {
3317
if ((ModifierKeys & (Keys.
Shift
| Keys.Alt)) != 0 || MouseButtons != MouseButtons.None) {
3973
bool forward = (keyData & Keys.
Shift
) == 0;
5360
if ((ModifierKeys & Keys.
Shift
) == 0) {
5928
if ((keyData & (Keys.
Shift
| Keys.Control | Keys.Alt)) == 0) {
6739
((keyData & Keys.
Shift
) == 0) &&
6748
((keyData & Keys.
Shift
) == 0) &&
6758
if (((keyData & Keys.Control) != 0) ^ ((keyData & Keys.
Shift
) == 0)) {
6767
((keyData & Keys.
Shift
) != 0) &&
6773
((keyData & Keys.
Shift
) == 0) &&
6803
if ((keyData & (Keys.
Shift
| Keys.Control | Keys.Alt)) == 0) {
6915
if (psheet.NeedsCommit || this.WantsTab((ModifierKeys & Keys.
Shift
) == 0)) {
winforms\Managed\System\WinForms\RichTextBox.cs (2)
3898
if ((k & Keys.
Shift
) == Keys.
Shift
) {
winforms\Managed\System\WinForms\SendKeys.cs (3)
86
new KeywordVk("%", (int)(Keys.D5 | Keys.
Shift
)),
87
new KeywordVk("^", (int)(Keys.D6 | Keys.
Shift
)),
470
if (haveKeys[HAVESHIFT] == 0 && (vk & (int)Keys.
Shift
) != 0) {
winforms\Managed\System\WinForms\Shortcut.cs (62)
218
CtrlShiftA = Keys.Control + Keys.
Shift
+ Keys.A,
225
CtrlShiftB = Keys.Control + Keys.
Shift
+ Keys.B,
232
CtrlShiftC = Keys.Control + Keys.
Shift
+ Keys.C,
239
CtrlShiftD = Keys.Control + Keys.
Shift
+ Keys.D,
246
CtrlShiftE = Keys.Control + Keys.
Shift
+ Keys.E,
253
CtrlShiftF = Keys.Control + Keys.
Shift
+ Keys.F,
260
CtrlShiftG = Keys.Control + Keys.
Shift
+ Keys.G,
267
CtrlShiftH = Keys.Control + Keys.
Shift
+ Keys.H,
274
CtrlShiftI = Keys.Control + Keys.
Shift
+ Keys.I,
281
CtrlShiftJ = Keys.Control + Keys.
Shift
+ Keys.J,
288
CtrlShiftK = Keys.Control + Keys.
Shift
+ Keys.K,
295
CtrlShiftL = Keys.Control + Keys.
Shift
+ Keys.L,
302
CtrlShiftM = Keys.Control + Keys.
Shift
+ Keys.M,
309
CtrlShiftN = Keys.Control + Keys.
Shift
+ Keys.N,
316
CtrlShiftO = Keys.Control + Keys.
Shift
+ Keys.O,
323
CtrlShiftP = Keys.Control + Keys.
Shift
+ Keys.P,
330
CtrlShiftQ = Keys.Control + Keys.
Shift
+ Keys.Q,
337
CtrlShiftR = Keys.Control + Keys.
Shift
+ Keys.R,
344
CtrlShiftS = Keys.Control + Keys.
Shift
+ Keys.S,
351
CtrlShiftT = Keys.Control + Keys.
Shift
+ Keys.T,
358
CtrlShiftU = Keys.Control + Keys.
Shift
+ Keys.U,
365
CtrlShiftV = Keys.Control + Keys.
Shift
+ Keys.V,
372
CtrlShiftW = Keys.Control + Keys.
Shift
+ Keys.W,
379
CtrlShiftX = Keys.Control + Keys.
Shift
+ Keys.X,
386
CtrlShiftY = Keys.Control + Keys.
Shift
+ Keys.Y,
393
CtrlShiftZ = Keys.Control + Keys.
Shift
+ Keys.Z,
482
ShiftF1 = Keys.
Shift
+ Keys.F1,
489
ShiftF2 = Keys.
Shift
+ Keys.F2,
496
ShiftF3 = Keys.
Shift
+ Keys.F3,
503
ShiftF4 = Keys.
Shift
+ Keys.F4,
510
ShiftF5 = Keys.
Shift
+ Keys.F5,
517
ShiftF6 = Keys.
Shift
+ Keys.F6,
524
ShiftF7 = Keys.
Shift
+ Keys.F7,
531
ShiftF8 = Keys.
Shift
+ Keys.F8,
538
ShiftF9 = Keys.
Shift
+ Keys.F9,
545
ShiftF10 = Keys.
Shift
+ Keys.F10,
552
ShiftF11 = Keys.
Shift
+ Keys.F11,
559
ShiftF12 = Keys.
Shift
+ Keys.F12,
650
CtrlShiftF1 = Keys.Control + Keys.
Shift
+ Keys.F1,
657
CtrlShiftF2 = Keys.Control + Keys.
Shift
+ Keys.F2,
664
CtrlShiftF3 = Keys.Control + Keys.
Shift
+ Keys.F3,
671
CtrlShiftF4 = Keys.Control + Keys.
Shift
+ Keys.F4,
678
CtrlShiftF5 = Keys.Control + Keys.
Shift
+ Keys.F5,
685
CtrlShiftF6 = Keys.Control + Keys.
Shift
+ Keys.F6,
692
CtrlShiftF7 = Keys.Control + Keys.
Shift
+ Keys.F7,
699
CtrlShiftF8 = Keys.Control + Keys.
Shift
+ Keys.F8,
706
CtrlShiftF9 = Keys.Control + Keys.
Shift
+ Keys.F9,
713
CtrlShiftF10 = Keys.Control + Keys.
Shift
+ Keys.F10,
720
CtrlShiftF11 = Keys.Control + Keys.
Shift
+ Keys.F11,
727
CtrlShiftF12 = Keys.Control + Keys.
Shift
+ Keys.F12,
748
ShiftIns = Keys.
Shift
+ Keys.Insert,
769
ShiftDel = Keys.
Shift
+ Keys.Delete,
1056
CtrlShift0 = Keys.Control + Keys.
Shift
+ Keys.D0,
1064
CtrlShift1 = Keys.Control + Keys.
Shift
+ Keys.D1,
1072
CtrlShift2 = Keys.Control + Keys.
Shift
+ Keys.D2,
1080
CtrlShift3 = Keys.Control + Keys.
Shift
+ Keys.D3,
1088
CtrlShift4 = Keys.Control + Keys.
Shift
+ Keys.D4,
1096
CtrlShift5 = Keys.Control + Keys.
Shift
+ Keys.D5,
1104
CtrlShift6 = Keys.Control + Keys.
Shift
+ Keys.D6,
1112
CtrlShift7 = Keys.Control + Keys.
Shift
+ Keys.D7,
1120
CtrlShift8 = Keys.Control + Keys.
Shift
+ Keys.D8,
1128
CtrlShift9 = Keys.Control + Keys.
Shift
+ Keys.D9,
winforms\Managed\System\WinForms\SplitContainer.cs (1)
2415
if (ProcessTabKey((keyData & Keys.
Shift
) == Keys.None)) return true;
winforms\Managed\System\WinForms\TabControl.cs (1)
1478
bool forward = (ke.KeyData & Keys.
Shift
) == 0;
winforms\Managed\System\WinForms\TextBoxBase.cs (1)
216
(int)keyData == (shortcutValue | (int)Keys.
Shift
)) {
winforms\Managed\System\WinForms\ToolStrip.cs (2)
2898
if ((keyData & Keys.
Shift
) == Keys.None) {
2952
retVal = ProcessTabKey((keyData & Keys.
Shift
) == Keys.None);
winforms\Managed\System\WinForms\ToolStripManager.cs (1)
1499
if (modifiers == Keys.
Shift
) {
winforms\Managed\System\WinForms\TrackBar.cs (1)
980
if ((ModifierKeys & (Keys.
Shift
| Keys.Alt)) != 0 || MouseButtons != MouseButtons.None) {
winforms\Managed\System\WinForms\UpDownBase.cs (1)
996
if ((ModifierKeys & (Keys.
Shift
| Keys.Alt)) != 0 || MouseButtons != MouseButtons.None) {
System.Workflow.Activities (1)
Rules\Design\Dialogs\IntellisenseTextBox.cs (1)
226
e.KeyData != (Keys.
Shift
| Keys.OemMinus))
System.Workflow.ComponentModel (10)
AuthoringOM\Design\CommandSet.cs (1)
600
{ key = Keys.Tab | Keys.
Shift
; }
AuthoringOM\Design\MessageFilters\DragSelectionMessageFilter.cs (4)
187
if ((Control.ModifierKeys & Keys.
Shift
) > 0)
197
if ((Control.ModifierKeys & Keys.
Shift
) > 0)
207
if ((Control.ModifierKeys & Keys.
Shift
) > 0)
233
if ((Control.ModifierKeys & Keys.
Shift
) == 0)
AuthoringOM\Design\MessageFilters\WindowManager.cs (1)
66
if (this.currentActiveDesigner != null && ((Control.ModifierKeys & (Keys.Control | Keys.
Shift
)) == 0))
AuthoringOM\Design\MessageFilters\ZoomingMessageFilter.cs (4)
82
this.currentState = ((Control.ModifierKeys & Keys.
Shift
) != 0) ? ((this.initialState == ZoomState.In) ? ZoomState.Out : ZoomState.In) : this.initialState;
134
this.currentState = ((eventArgs.Modifiers & Keys.
Shift
) != 0) ? ((this.initialState == ZoomState.In) ? ZoomState.Out : ZoomState.In) : this.initialState;
142
this.currentState = ((eventArgs.Modifiers & Keys.
Shift
) != 0) ? ((this.initialState == ZoomState.In) ? ZoomState.Out : ZoomState.In) : this.initialState;
190
this.currentState = ((Control.ModifierKeys & Keys.
Shift
) != 0) ? ((this.initialState == ZoomState.In) ? ZoomState.Out : ZoomState.In) : this.initialState;