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