27 references to PrimaryDevice
PresentationCore (20)
Core\CSharp\System\Windows\ContentElement.cs (1)
283
Keyboard.
PrimaryDevice
.ReevaluateFocusAsync(this, oldParent, isCoreParent);
Core\CSharp\System\Windows\Input\Keyboard.cs (10)
278
return Keyboard.
PrimaryDevice
.FocusedElement;
288
Keyboard.
PrimaryDevice
.ClearFocus();
299
return Keyboard.
PrimaryDevice
.Focus(element);
309
return Keyboard.
PrimaryDevice
.DefaultRestoreFocusMode;
314
Keyboard.
PrimaryDevice
.DefaultRestoreFocusMode = value;
325
return Keyboard.
PrimaryDevice
.Modifiers;
334
return Keyboard.
PrimaryDevice
.IsKeyDown(key);
342
return Keyboard.
PrimaryDevice
.IsKeyUp(key);
350
return Keyboard.
PrimaryDevice
.IsKeyToggled(key);
358
return Keyboard.
PrimaryDevice
.GetKeyStates(key);
Core\CSharp\System\Windows\Interop\HwndSource.cs (7)
2681
Keyboard.
PrimaryDevice
.ForceTarget = focusElement;
2686
Keyboard.
PrimaryDevice
.ForceTarget = null;
2731
focusElement = Keyboard.
PrimaryDevice
.FocusedElement;
2740
Keyboard.
PrimaryDevice
.ForceTarget = focusSink as IInputElement;
2744
KeyEventArgs tunnelArgs = new KeyEventArgs(Keyboard.
PrimaryDevice
, this, msg.time, key);
2754
KeyEventArgs bubbleArgs = new KeyEventArgs(Keyboard.
PrimaryDevice
, this, msg.time, key);
2776
Keyboard.
PrimaryDevice
.ForceTarget = null;
Core\CSharp\System\Windows\UIElement.cs (1)
2413
Keyboard.
PrimaryDevice
.ReevaluateFocusAsync(this, oldParent, isCoreParent);
Core\CSharp\System\Windows\UIElement3D.cs (1)
373
Keyboard.
PrimaryDevice
.ReevaluateFocusAsync(this, oldParent, isCoreParent);
PresentationFramework (7)
src\Framework\System\Windows\Controls\DataGrid.cs (1)
6207
PrepareToNavigateByPage(startingInfo, startingElement, direction, new ItemNavigateArgs(Keyboard.
PrimaryDevice
, Keyboard.Modifiers), out targetElement);
src\Framework\System\Windows\Controls\MenuItem.cs (2)
2402
NavigateToStart(new ItemNavigateArgs(Keyboard.
PrimaryDevice
, Keyboard.Modifiers));
2438
parent.NavigateByLine(parent.FocusedInfo, KeyboardNavigation.KeyToTraversalDirection(key), new ItemNavigateArgs(Keyboard.
PrimaryDevice
, modifiers));
src\Framework\System\Windows\Controls\TextSearch.cs (1)
253
_attachedTo.NavigateToItem(matchedItem, matchedItemIndex, new ItemsControl.ItemNavigateArgs(Keyboard.
PrimaryDevice
, ModifierKeys.None));
src\Framework\System\Windows\Controls\TreeView.cs (2)
619
return NavigateToStartInternal(new ItemNavigateArgs(Keyboard.
PrimaryDevice
, Keyboard.Modifiers), true /*shouldFocus*/, out container);
626
return NavigateToEndInternal(new ItemNavigateArgs(Keyboard.
PrimaryDevice
, Keyboard.Modifiers), true /*shouldFocus*/, out container);
src\Framework\System\Windows\Navigation\NavigationService.cs (1)
966
Keyboard.
PrimaryDevice
.Focus(null);