19 references to Focus
Microsoft.VisualStudio.LanguageServices (1)
InheritanceMargin\MarginGlyph\InheritanceMarginGlyph.cs (1)
220Keyboard.Focus(visualElement);
PresentationCore (6)
System\Windows\ContentElement.cs (1)
477if (Keyboard.Focus(this) == this)
System\Windows\Input\FocusManager.cs (1)
230Keyboard.Focus(newFocusedElement);
System\Windows\InterOp\HwndKeyboardInputProvider.cs (2)
34Keyboard.Focus(null); // internally we will set the focus to the root. 486Keyboard.Focus(restoreFocusDO as IInputElement);
System\Windows\UIElement.cs (1)
2588if (Keyboard.Focus(this) == this)
System\Windows\UIElement3D.cs (1)
567if (Keyboard.Focus(this) == this)
PresentationFramework (10)
System\Windows\Controls\DataGrid.cs (5)
5561Keyboard.Focus(nextFocusTarget as IInputElement); 5675Keyboard.Focus(nextFocusTarget as IInputElement); 5721Keyboard.Focus(nextFocusTarget as IInputElement); 5755Keyboard.Focus(nextFocusTarget as IInputElement); 5790Keyboard.Focus(nextFocusTarget as IInputElement);
System\Windows\Controls\Primitives\ButtonBase.cs (1)
529Keyboard.Focus(null);
System\Windows\Controls\Primitives\MenuBase.cs (1)
663 Keyboard.Focus(null);
System\Windows\Controls\StickyNote.cs (1)
1357Keyboard.Focus(null);
System\Windows\Controls\ToolBar.cs (2)
258Keyboard.Focus(null); 657Keyboard.Focus(null);
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (1)
1209Keyboard.Focus(null);
Microsoft\Windows\Controls\Ribbon\RibbonTabHeader.cs (1)
532Keyboard.Focus(null);