27 references to PrimaryDevice
PresentationCore (20)
System\Windows\ContentElement.cs (1)
277
Keyboard.
PrimaryDevice
.ReevaluateFocusAsync(this, oldParent, isCoreParent);
System\Windows\Input\Keyboard.cs (10)
281
return Keyboard.
PrimaryDevice
.FocusedElement;
290
Keyboard.
PrimaryDevice
.ClearFocus();
301
return Keyboard.
PrimaryDevice
.Focus(element);
311
return Keyboard.
PrimaryDevice
.DefaultRestoreFocusMode;
316
Keyboard.
PrimaryDevice
.DefaultRestoreFocusMode = value;
327
return Keyboard.
PrimaryDevice
.Modifiers;
336
return Keyboard.
PrimaryDevice
.IsKeyDown(key);
344
return Keyboard.
PrimaryDevice
.IsKeyUp(key);
352
return Keyboard.
PrimaryDevice
.IsKeyToggled(key);
360
return Keyboard.
PrimaryDevice
.GetKeyStates(key);
System\Windows\InterOp\HwndSource.cs (7)
2340
Keyboard.
PrimaryDevice
.ForceTarget = focusElement;
2345
Keyboard.
PrimaryDevice
.ForceTarget = null;
2389
focusElement = Keyboard.
PrimaryDevice
.FocusedElement;
2398
Keyboard.
PrimaryDevice
.ForceTarget = focusSink as IInputElement;
2402
KeyEventArgs tunnelArgs = new KeyEventArgs(Keyboard.
PrimaryDevice
, this, msg.time, key);
2412
KeyEventArgs bubbleArgs = new KeyEventArgs(Keyboard.
PrimaryDevice
, this, msg.time, key);
2434
Keyboard.
PrimaryDevice
.ForceTarget = null;
System\Windows\UIElement.cs (1)
2384
Keyboard.
PrimaryDevice
.ReevaluateFocusAsync(this, oldParent, isCoreParent);
System\Windows\UIElement3D.cs (1)
365
Keyboard.
PrimaryDevice
.ReevaluateFocusAsync(this, oldParent, isCoreParent);
PresentationFramework (7)
System\Windows\Controls\DataGrid.cs (1)
6202
PrepareToNavigateByPage(startingInfo, startingElement, direction, new ItemNavigateArgs(Keyboard.
PrimaryDevice
, Keyboard.Modifiers), out targetElement);
System\Windows\Controls\MenuItem.cs (2)
2342
NavigateToStart(new ItemNavigateArgs(Keyboard.
PrimaryDevice
, Keyboard.Modifiers));
2378
parent.NavigateByLine(parent.FocusedInfo, KeyboardNavigation.KeyToTraversalDirection(key), new ItemNavigateArgs(Keyboard.
PrimaryDevice
, modifiers));
System\Windows\Controls\TextSearch.cs (1)
237
_attachedTo.NavigateToItem(matchedItem, matchedItemIndex, new ItemsControl.ItemNavigateArgs(Keyboard.
PrimaryDevice
, ModifierKeys.None));
System\Windows\Controls\TreeView.cs (2)
618
return NavigateToStartInternal(new ItemNavigateArgs(Keyboard.
PrimaryDevice
, Keyboard.Modifiers), true /*shouldFocus*/, out container);
625
return NavigateToEndInternal(new ItemNavigateArgs(Keyboard.
PrimaryDevice
, Keyboard.Modifiers), true /*shouldFocus*/, out container);
System\Windows\Navigation\NavigationService.cs (1)
838
Keyboard.
PrimaryDevice
.Focus(null);