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