19 references to Focus
Microsoft.VisualStudio.LanguageServices (1)
InheritanceMargin\MarginGlyph\InheritanceMarginGlyph.cs (1)
220
Keyboard.
Focus
(visualElement);
PresentationCore (6)
System\Windows\ContentElement.cs (1)
488
if (Keyboard.
Focus
(this) == this)
System\Windows\Input\FocusManager.cs (1)
243
Keyboard.
Focus
(newFocusedElement);
System\Windows\InterOp\HwndKeyboardInputProvider.cs (2)
40
Keyboard.
Focus
(null); // internally we will set the focus to the root.
492
Keyboard.
Focus
(restoreFocusDO as IInputElement);
System\Windows\UIElement.cs (1)
2601
if (Keyboard.
Focus
(this) == this)
System\Windows\UIElement3D.cs (1)
582
if (Keyboard.
Focus
(this) == this)
PresentationFramework (10)
System\Windows\Controls\DataGrid.cs (5)
5602
Keyboard.
Focus
(nextFocusTarget as IInputElement);
5716
Keyboard.
Focus
(nextFocusTarget as IInputElement);
5762
Keyboard.
Focus
(nextFocusTarget as IInputElement);
5796
Keyboard.
Focus
(nextFocusTarget as IInputElement);
5831
Keyboard.
Focus
(nextFocusTarget as IInputElement);
System\Windows\Controls\Primitives\ButtonBase.cs (1)
540
Keyboard.
Focus
(null);
System\Windows\Controls\Primitives\MenuBase.cs (1)
672
Keyboard.
Focus
(null);
System\Windows\Controls\StickyNote.cs (1)
1401
Keyboard.
Focus
(null);
System\Windows\Controls\ToolBar.cs (2)
267
Keyboard.
Focus
(null);
672
Keyboard.
Focus
(null);
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (1)
1219
Keyboard.
Focus
(null);
Microsoft\Windows\Controls\Ribbon\RibbonTabHeader.cs (1)
537
Keyboard.
Focus
(null);