19 references to Focus
Microsoft.VisualStudio.LanguageServices (1)
InheritanceMargin\MarginGlyph\InheritanceMarginGlyph.cs (1)
220Keyboard.Focus(visualElement);
PresentationCore (6)
System\Windows\ContentElement.cs (1)
476if (Keyboard.Focus(this) == this)
System\Windows\Input\FocusManager.cs (1)
229Keyboard.Focus(newFocusedElement);
System\Windows\InterOp\HwndKeyboardInputProvider.cs (2)
33Keyboard.Focus(null); // internally we will set the focus to the root. 485Keyboard.Focus(restoreFocusDO as IInputElement);
System\Windows\UIElement.cs (1)
2587if (Keyboard.Focus(this) == this)
System\Windows\UIElement3D.cs (1)
566if (Keyboard.Focus(this) == this)
PresentationFramework (10)
System\Windows\Controls\DataGrid.cs (5)
5560Keyboard.Focus(nextFocusTarget as IInputElement); 5674Keyboard.Focus(nextFocusTarget as IInputElement); 5720Keyboard.Focus(nextFocusTarget as IInputElement); 5754Keyboard.Focus(nextFocusTarget as IInputElement); 5789Keyboard.Focus(nextFocusTarget as IInputElement);
System\Windows\Controls\Primitives\ButtonBase.cs (1)
528Keyboard.Focus(null);
System\Windows\Controls\Primitives\MenuBase.cs (1)
662 Keyboard.Focus(null);
System\Windows\Controls\StickyNote.cs (1)
1356Keyboard.Focus(null);
System\Windows\Controls\ToolBar.cs (2)
257Keyboard.Focus(null); 656Keyboard.Focus(null);
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (1)
1208Keyboard.Focus(null);
Microsoft\Windows\Controls\Ribbon\RibbonTabHeader.cs (1)
531Keyboard.Focus(null);