36 references to Modifiers
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
InlineHints\InlineHintsKeyProcessorProvider.cs (1)
106args.KeyboardDevice.Modifiers == ModifierKeys.Alt)
Microsoft.VisualStudio.LanguageServices (2)
PickMembers\PickMembersDialog.xaml.cs (1)
122if (e.Key == Key.Space && e.KeyboardDevice.Modifiers == ModifierKeys.None)
ValueTracking\ValueTrackingTree.xaml.cs (1)
29Key.F8 => e.KeyboardDevice.Modifiers == ModifierKeys.Shift ? TrySelectItem(GetPreviousItem(), navigate: true) : TrySelectItem(GetNextItem(expandNode: true), navigate: true),
PresentationCore (2)
System\Windows\Input\Keyboard.cs (1)
327return Keyboard.PrimaryDevice.Modifiers;
System\Windows\Input\TextCompositionManager.cs (1)
492ModifierKeys modifiers = keyArgs.KeyboardDevice.Modifiers;
PresentationFramework (30)
System\Windows\Controls\ComboBox.cs (7)
1349if ((e.KeyboardDevice.Modifiers & ModifierKeys.Alt) == ModifierKeys.Alt) 1371if ((e.KeyboardDevice.Modifiers & ModifierKeys.Alt) == ModifierKeys.Alt) 1390if ((e.KeyboardDevice.Modifiers & ModifierKeys.Alt) == 0) 1414if ((e.KeyboardDevice.Modifiers & ModifierKeys.Alt) != ModifierKeys.Alt && !IsEditable) 1429if ((e.KeyboardDevice.Modifiers & ModifierKeys.Alt) != ModifierKeys.Alt && !IsEditable) 1444if ((e.KeyboardDevice.Modifiers & ModifierKeys.Alt) != ModifierKeys.Alt && !IsEditable) 1467if ((e.KeyboardDevice.Modifiers & ModifierKeys.Alt) != ModifierKeys.Alt && !IsEditable)
System\Windows\Controls\DataGrid.cs (6)
5614bool controlModifier = ((e.KeyboardDevice.Modifiers & ModifierKeys.Control) == ModifierKeys.Control); 5919bool previous = ((e.KeyboardDevice.Modifiers & ModifierKeys.Shift) == ModifierKeys.Shift); 5988if (CommitAnyEdit() && ((e.KeyboardDevice.Modifiers & ModifierKeys.Control) == 0)) 5990bool shiftModifier = ((e.KeyboardDevice.Modifiers & ModifierKeys.Shift) == ModifierKeys.Shift); 6048if (ignoreControlKey || ((e.KeyboardDevice.Modifiers & ModifierKeys.Control) == 0)) 6076bool controlModifier = ((e.KeyboardDevice.Modifiers & ModifierKeys.Control) == ModifierKeys.Control);
System\Windows\Controls\DataGridComboBoxColumn.cs (1)
604bool isAltDown = (keyArgs.KeyboardDevice.Modifiers & ModifierKeys.Alt) == ModifierKeys.Alt;
System\Windows\Controls\DocumentViewer.cs (1)
2274_findToolbar.SearchUp = ((e.KeyboardDevice.Modifiers & ModifierKeys.Shift) == ModifierKeys.Shift);
System\Windows\Controls\FlowDocumentReader.cs (1)
823FindToolBar.SearchUp = ((e.KeyboardDevice.Modifiers & ModifierKeys.Shift) == ModifierKeys.Shift);
System\Windows\Controls\FlowDocumentScrollViewer.cs (1)
676FindToolBar.SearchUp = ((e.KeyboardDevice.Modifiers & ModifierKeys.Shift) == ModifierKeys.Shift);
System\Windows\Controls\MenuItem.cs (1)
2020handled = MenuItemNavigate(e.Key, e.KeyboardDevice.Modifiers);
System\Windows\Controls\ScrollViewer.cs (2)
1061bool fControlDown = ((e.KeyboardDevice.Modifiers & ModifierKeys.Control) != 0); 1062bool fAltDown = ((e.KeyboardDevice.Modifiers & ModifierKeys.Alt) != 0);
System\Windows\Controls\SinglePageViewer.cs (1)
398FindToolBar.SearchUp = ((e.KeyboardDevice.Modifiers & ModifierKeys.Shift) == ModifierKeys.Shift);
System\Windows\Controls\TabControl.cs (2)
427if ((e.KeyboardDevice.Modifiers & ModifierKeys.Control) == ModifierKeys.Control) 430if ((e.KeyboardDevice.Modifiers & ModifierKeys.Shift) == ModifierKeys.Shift)
System\windows\Documents\TextEditorTyping.cs (6)
319(e.KeyboardDevice.Modifiers & ModifierKeys.Control) != 0 && (e.KeyboardDevice.Modifiers & ModifierKeys.Alt) == 0) 324(e.KeyboardDevice.Modifiers & ModifierKeys.Shift) != 0 && (e.KeyboardDevice.Modifiers & ModifierKeys.Alt) == 0) 350if (TextEditor._ThreadLocalStore.PureControlShift && (e.KeyboardDevice.Modifiers & ModifierKeys.Alt) == 0) 352TextEditorTyping.ScheduleInput(This, new KeyUpInputItem(This, e.Key, e.KeyboardDevice.Modifiers));
System\Windows\Input\KeyboardNavigation.cs (1)
1245keyEventArgs.Handled = Navigate(sourceElement, keyEventArgs.Key, keyEventArgs.KeyboardDevice.Modifiers, fromProcessInput: true);
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (1)
1887((e.KeyboardDevice.Modifiers & ModifierKeys.Control) == ModifierKeys.Control))