73 references to Shift
PresentationCore (2)
Core\CSharp\System\Windows\Input\KeyboardDevice.cs (1)
244
modifiers |= ModifierKeys.
Shift
;
Core\CSharp\System\Windows\Interop\HwndKeyboardInputProvider.cs (1)
753
modifierKeys |= ModifierKeys.
Shift
;
PresentationFramework (59)
src\Framework\MS\Internal\AppModel\RootBrowserWindow.cs (1)
171
if (e.Key == Key.F6 && (e.KeyboardDevice.Modifiers & ~ModifierKeys.
Shift
) == 0)
src\Framework\System\Windows\Controls\CalendarKeyboardHelper.cs (2)
10
shift = (Keyboard.Modifiers & ModifierKeys.
Shift
) == ModifierKeys.
Shift
;
src\Framework\System\Windows\Controls\DataGrid.cs (12)
1374
(Keyboard.Modifiers & ModifierKeys.
Shift
) == ModifierKeys.
Shift
;
5345
(_isDraggingSelection || ((Keyboard.Modifiers & ModifierKeys.
Shift
) == ModifierKeys.
Shift
));
5924
bool previous = ((e.KeyboardDevice.Modifiers & ModifierKeys.
Shift
) == ModifierKeys.
Shift
);
5995
bool shiftModifier = ((e.KeyboardDevice.Modifiers & ModifierKeys.
Shift
) == ModifierKeys.
Shift
);
7129
(Keyboard.Modifiers & ModifierKeys.
Shift
) != ModifierKeys.
Shift
);
7174
if ((Keyboard.Modifiers & ModifierKeys.
Shift
) == ModifierKeys.
Shift
)
src\Framework\System\Windows\Controls\DocumentViewer.cs (6)
1672
new KeyGesture(Key.Add, ModifierKeys.
Shift
| ModifierKeys.Control),
1676
new KeyGesture(Key.OemPlus, ModifierKeys.
Shift
| ModifierKeys.Control));
1688
new KeyGesture(Key.Subtract, ModifierKeys.
Shift
| ModifierKeys.Control),
1692
new KeyGesture(Key.OemMinus, ModifierKeys.
Shift
| ModifierKeys.Control));
2339
_findToolbar.SearchUp = ((e.KeyboardDevice.Modifiers & ModifierKeys.
Shift
) == ModifierKeys.
Shift
);
src\Framework\System\Windows\Controls\FlowDocumentReader.cs (2)
829
FindToolBar.SearchUp = ((e.KeyboardDevice.Modifiers & ModifierKeys.
Shift
) == ModifierKeys.
Shift
);
src\Framework\System\Windows\Controls\FlowDocumentScrollViewer.cs (2)
682
FindToolBar.SearchUp = ((e.KeyboardDevice.Modifiers & ModifierKeys.
Shift
) == ModifierKeys.
Shift
);
src\Framework\System\Windows\Controls\ListBox.cs (11)
451
if ((Keyboard.Modifiers & (ModifierKeys.Control | ModifierKeys.
Shift
)) == ModifierKeys.Control)
456
else if ((Keyboard.Modifiers & (ModifierKeys.Control | ModifierKeys.
Shift
)) == ModifierKeys.
Shift
)
461
else if ((Keyboard.Modifiers & ModifierKeys.
Shift
) == 0)
690
if ((Keyboard.Modifiers & (ModifierKeys.Control | ModifierKeys.
Shift
)) == (ModifierKeys.Control | ModifierKeys.
Shift
))
698
else if ((Keyboard.Modifiers & ModifierKeys.
Shift
) == ModifierKeys.
Shift
)
712
if ((Keyboard.Modifiers & (ModifierKeys.Control | ModifierKeys.
Shift
)) == 0)
889
if ((Keyboard.Modifiers & ModifierKeys.
Shift
) == ModifierKeys.
Shift
)
src\Framework\System\Windows\Controls\MenuItem.cs (2)
1954
if ((Keyboard.Modifiers & ModifierKeys.
Shift
) == ModifierKeys.
Shift
)
src\Framework\System\Windows\Controls\PopupControlService.cs (4)
216
(e.SystemKey == Key.F10) && ((Keyboard.Modifiers & ModifierKeys.
Shift
) == ModifierKeys.
Shift
) && ((Keyboard.Modifiers & ModifierKeys.Control) == ModifierKeys.Control))
220
else if ((e.SystemKey == Key.F10) && ((Keyboard.Modifiers & ModifierKeys.
Shift
) == ModifierKeys.
Shift
))
src\Framework\System\Windows\Controls\Primitives\ScrollBar.cs (2)
157
((Keyboard.Modifiers & ModifierKeys.
Shift
) == ModifierKeys.
Shift
))
src\Framework\System\Windows\Controls\SinglePageViewer.cs (2)
405
FindToolBar.SearchUp = ((e.KeyboardDevice.Modifiers & ModifierKeys.
Shift
) == ModifierKeys.
Shift
);
src\Framework\System\Windows\Controls\TabControl.cs (2)
431
if ((e.KeyboardDevice.Modifiers & ModifierKeys.
Shift
) == ModifierKeys.
Shift
)
src\Framework\System\Windows\Controls\TreeView.cs (2)
612
return ((Keyboard.Modifiers & ModifierKeys.
Shift
) == (ModifierKeys.
Shift
));
src\Framework\System\windows\Documents\TextEditorMouse.cs (2)
117
else if (clickCount == 2 && (Keyboard.Modifiers & ModifierKeys.
Shift
) == 0 && This.Selection.IsEmpty)
124
else if (clickCount == 3 && (Keyboard.Modifiers & ModifierKeys.
Shift
) == 0)
src\Framework\System\windows\Documents\TextEditorTyping.cs (1)
328
(e.KeyboardDevice.Modifiers & ModifierKeys.
Shift
) != 0 && (e.KeyboardDevice.Modifiers & ModifierKeys.Alt) == 0)
src\Framework\System\windows\Documents\TextSelection.cs (2)
801
if ((Keyboard.Modifiers & ModifierKeys.
Shift
) != 0)
911
bool disableWordExpansion = _textEditor.AutoWordSelection == false || ((Keyboard.Modifiers & ModifierKeys.
Shift
) != 0 && (Keyboard.Modifiers & ModifierKeys.Control) != 0);
src\Framework\System\Windows\Documents\TextStore.cs (1)
2903
if ((Keyboard.Modifiers & ModifierKeys.
Shift
) != 0)
src\Framework\System\Windows\Input\KeyboardNavigation.cs (3)
1492
new TraversalRequest(((modifiers & ModifierKeys.
Shift
) == ModifierKeys.
Shift
) ?
3282
if ((Keyboard.Modifiers & (ModifierKeys.Control | ModifierKeys.
Shift
| ModifierKeys.Windows)) == ModifierKeys.None)
System.Activities.Presentation (6)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\FlagEditor.xaml.cs (1)
82
if ((e.KeyboardDevice.Modifiers & ModifierKeys.
Shift
) == 0)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\ValueEditors\ChoiceEditor.cs (1)
742
finishEditing = (e.KeyboardDevice.Modifiers & ModifierKeys.
Shift
) == 0;
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\ValueEditors\StringEditor.cs (1)
249
if ((e.KeyboardDevice.Modifiers & ModifierKeys.
Shift
) == 0)
System.Activities.Presentation\System\Activities\Presentation\Toolbox\ToolboxControl.cs (1)
271
(e.KeyboardDevice.Modifiers == ModifierKeys.None || e.KeyboardDevice.Modifiers == ModifierKeys.
Shift
))
System.Activities.Presentation\System\Activities\Presentation\View\DataGridHelper.cs (2)
209
bool shiftModifier = ((e.KeyboardDevice.Modifiers & ModifierKeys.
Shift
) == ModifierKeys.
Shift
);
WindowsBase (6)
Base\System\Windows\Input\ModifierKeysConverter.cs (6)
141
if ((modifiers & ModifierKeys.
Shift
) == ModifierKeys.
Shift
)
146
strModifiers += MatchModifiers(ModifierKeys.
Shift
); ;
179
modifiers |= ModifierKeys.
Shift
;
211
private static ModifierKeys ModifierKeysFlag = ModifierKeys.Windows | ModifierKeys.
Shift
|
220
case ModifierKeys.
Shift
: modifiers="Shift";break;