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