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