46 references to KeyboardDevice
PresentationCore (5)
Core\CSharp\System\Windows\Input\KeyEventArgs.cs (4)
128
get {return this.
KeyboardDevice
.GetKeyStates(_realKey);}
145
get {return this.
KeyboardDevice
.IsKeyDown(_realKey);}
154
get {return this.
KeyboardDevice
.IsKeyUp(_realKey);}
163
get {return this.
KeyboardDevice
.IsKeyToggled(_realKey);}
Core\CSharp\System\Windows\Input\TextCompositionManager.cs (1)
626
ModifierKeys modifiers = keyArgs.
KeyboardDevice
.Modifiers;
PresentationFramework (35)
src\Framework\MS\Internal\AppModel\RootBrowserWindow.cs (3)
171
if (e.Key == Key.F6 && (e.
KeyboardDevice
.Modifiers & ~ModifierKeys.Shift) == 0)
174
e.
KeyboardDevice
.FocusedElement as DependencyObject ?? this,
175
Key.Tab, e.
KeyboardDevice
.Modifiers | ModifierKeys.Control))
src\Framework\System\Windows\Controls\ComboBox.cs (7)
1351
if ((e.
KeyboardDevice
.Modifiers & ModifierKeys.Alt) == ModifierKeys.Alt)
1373
if ((e.
KeyboardDevice
.Modifiers & ModifierKeys.Alt) == ModifierKeys.Alt)
1392
if ((e.
KeyboardDevice
.Modifiers & ModifierKeys.Alt) == 0)
1416
if ((e.
KeyboardDevice
.Modifiers & ModifierKeys.Alt) != ModifierKeys.Alt && !IsEditable)
1431
if ((e.
KeyboardDevice
.Modifiers & ModifierKeys.Alt) != ModifierKeys.Alt && !IsEditable)
1446
if ((e.
KeyboardDevice
.Modifiers & ModifierKeys.Alt) != ModifierKeys.Alt && !IsEditable)
1469
if ((e.
KeyboardDevice
.Modifiers & ModifierKeys.Alt) != ModifierKeys.Alt && !IsEditable)
src\Framework\System\Windows\Controls\DataGrid.cs (7)
5619
bool controlModifier = ((e.
KeyboardDevice
.Modifiers & ModifierKeys.Control) == ModifierKeys.Control);
5890
new ItemNavigateArgs(e.
KeyboardDevice
, Keyboard.Modifiers),
5924
bool previous = ((e.
KeyboardDevice
.Modifiers & ModifierKeys.Shift) == ModifierKeys.Shift);
5993
if (CommitAnyEdit() && ((e.
KeyboardDevice
.Modifiers & ModifierKeys.Control) == 0))
5995
bool shiftModifier = ((e.
KeyboardDevice
.Modifiers & ModifierKeys.Shift) == ModifierKeys.Shift);
6053
if (ignoreControlKey || ((e.
KeyboardDevice
.Modifiers & ModifierKeys.Control) == 0))
6081
bool controlModifier = ((e.
KeyboardDevice
.Modifiers & ModifierKeys.Control) == ModifierKeys.Control);
src\Framework\System\Windows\Controls\DataGridComboBoxColumn.cs (1)
606
bool isAltDown = (keyArgs.
KeyboardDevice
.Modifiers & ModifierKeys.Alt) == ModifierKeys.Alt;
src\Framework\System\Windows\Controls\DocumentViewer.cs (1)
2339
_findToolbar.SearchUp = ((e.
KeyboardDevice
.Modifiers & ModifierKeys.Shift) == ModifierKeys.Shift);
src\Framework\System\Windows\Controls\FlowDocumentReader.cs (1)
829
FindToolBar.SearchUp = ((e.
KeyboardDevice
.Modifiers & ModifierKeys.Shift) == ModifierKeys.Shift);
src\Framework\System\Windows\Controls\FlowDocumentScrollViewer.cs (1)
682
FindToolBar.SearchUp = ((e.
KeyboardDevice
.Modifiers & ModifierKeys.Shift) == ModifierKeys.Shift);
src\Framework\System\Windows\Controls\MenuItem.cs (1)
2062
handled = MenuItemNavigate(e.Key, e.
KeyboardDevice
.Modifiers);
src\Framework\System\Windows\Controls\ScrollViewer.cs (2)
1088
bool fControlDown = ((e.
KeyboardDevice
.Modifiers & ModifierKeys.Control) != 0);
1089
bool fAltDown = ((e.
KeyboardDevice
.Modifiers & ModifierKeys.Alt) != 0);
src\Framework\System\Windows\Controls\SinglePageViewer.cs (1)
405
FindToolBar.SearchUp = ((e.
KeyboardDevice
.Modifiers & ModifierKeys.Shift) == ModifierKeys.Shift);
src\Framework\System\Windows\Controls\TabControl.cs (2)
428
if ((e.
KeyboardDevice
.Modifiers & ModifierKeys.Control) == ModifierKeys.Control)
431
if ((e.
KeyboardDevice
.Modifiers & ModifierKeys.Shift) == ModifierKeys.Shift)
src\Framework\System\windows\Documents\TextEditorTyping.cs (6)
323
(e.
KeyboardDevice
.Modifiers & ModifierKeys.Control) != 0 && (e.
KeyboardDevice
.Modifiers & ModifierKeys.Alt) == 0)
328
(e.
KeyboardDevice
.Modifiers & ModifierKeys.Shift) != 0 && (e.
KeyboardDevice
.Modifiers & ModifierKeys.Alt) == 0)
355
if (TextEditor._ThreadLocalStore.PureControlShift && (e.
KeyboardDevice
.Modifiers & ModifierKeys.Alt) == 0)
357
TextEditorTyping.ScheduleInput(This, new KeyUpInputItem(This, e.Key, e.
KeyboardDevice
.Modifiers));
src\Framework\System\Windows\Input\KeyboardNavigation.cs (2)
1293
DependencyObject innerElement = keyEventArgs.
KeyboardDevice
.Target as DependencyObject;
1330
keyEventArgs.Handled = Navigate(sourceElement, keyEventArgs.Key, keyEventArgs.
KeyboardDevice
.Modifiers, fromProcessInput: true);
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 (2)
271
(e.
KeyboardDevice
.Modifiers == ModifierKeys.None || e.
KeyboardDevice
.Modifiers == ModifierKeys.Shift))
System.Activities.Presentation\System\Activities\Presentation\View\DataGridHelper.cs (1)
209
bool shiftModifier = ((e.
KeyboardDevice
.Modifiers & ModifierKeys.Shift) == ModifierKeys.Shift);