4 instantiations of KeyboardFocusChangedEventArgs
PresentationCore (4)
System\Windows\Input\KeyboardDevice.cs (4)
287KeyboardFocusChangedEventArgs previewLostFocus = new KeyboardFocusChangedEventArgs(this, timeStamp, (IInputElement)_focus, (IInputElement)newFocus); 304KeyboardFocusChangedEventArgs previewGotFocus = new KeyboardFocusChangedEventArgs(this, timeStamp, (IInputElement)_focus, (IInputElement)newFocus); 472KeyboardFocusChangedEventArgs lostFocus = new KeyboardFocusChangedEventArgs(this, timestamp, (IInputElement) oldFocus, (IInputElement) focus); 480KeyboardFocusChangedEventArgs gotFocus = new KeyboardFocusChangedEventArgs(this, timestamp, (IInputElement) oldFocus, (IInputElement) _focus);
86 references to KeyboardFocusChangedEventArgs
Microsoft.CodeAnalysis.EditorFeatures.Wpf (4)
InlineRename\UI\Adornment\RenameFlyout.xaml.cs (1)
220private void Adornment_GotKeyboardFocus(object sender, KeyboardFocusChangedEventArgs e)
InlineRename\UI\Dashboard\RenameDashboard.xaml.cs (2)
392protected override void OnGotKeyboardFocus(KeyboardFocusChangedEventArgs e) 398protected override void OnLostKeyboardFocus(KeyboardFocusChangedEventArgs e)
InlineRename\UI\SmartRename\SmartRenameUserInputComboBox.xaml.cs (1)
98private void ComboBox_GotKeyboardFocus(object sender, KeyboardFocusChangedEventArgs e)
Microsoft.VisualStudio.LanguageServices (3)
ChangeSignature\ChangeSignatureDialog.xaml.cs (1)
255private void Members_GotKeyboardFocus(object sender, KeyboardFocusChangedEventArgs e)
EditorConfigSettings\Common\TableControlFocusFixer.cs (1)
23tableControl.Control.PreviewLostKeyboardFocus += (object sender, KeyboardFocusChangedEventArgs e) =>
Utilities\AutomationDelegatingListView.cs (1)
29protected override void OnGotKeyboardFocus(KeyboardFocusChangedEventArgs e)
PresentationCore (21)
System\Windows\Generated\ContentElement.cs (4)
1727protected internal virtual void OnPreviewGotKeyboardFocus(KeyboardFocusChangedEventArgs e) {} 1746protected internal virtual void OnGotKeyboardFocus(KeyboardFocusChangedEventArgs e) {} 1765protected internal virtual void OnPreviewLostKeyboardFocus(KeyboardFocusChangedEventArgs e) {} 1784protected internal virtual void OnLostKeyboardFocus(KeyboardFocusChangedEventArgs e) {}
System\Windows\Generated\UIElement.cs (8)
2030private static void OnPreviewGotKeyboardFocusThunk(object sender, KeyboardFocusChangedEventArgs e) 2055private static void OnGotKeyboardFocusThunk(object sender, KeyboardFocusChangedEventArgs e) 2080private static void OnPreviewLostKeyboardFocusThunk(object sender, KeyboardFocusChangedEventArgs e) 2105private static void OnLostKeyboardFocusThunk(object sender, KeyboardFocusChangedEventArgs e) 3680protected virtual void OnPreviewGotKeyboardFocus(KeyboardFocusChangedEventArgs e) {} 3699protected virtual void OnGotKeyboardFocus(KeyboardFocusChangedEventArgs e) {} 3718protected virtual void OnPreviewLostKeyboardFocus(KeyboardFocusChangedEventArgs e) {} 3737protected virtual void OnLostKeyboardFocus(KeyboardFocusChangedEventArgs e) {}
System\Windows\Generated\UIElement3D.cs (4)
1448protected internal virtual void OnPreviewGotKeyboardFocus(KeyboardFocusChangedEventArgs e) {} 1467protected internal virtual void OnGotKeyboardFocus(KeyboardFocusChangedEventArgs e) {} 1486protected internal virtual void OnPreviewLostKeyboardFocus(KeyboardFocusChangedEventArgs e) {} 1505protected internal virtual void OnLostKeyboardFocus(KeyboardFocusChangedEventArgs e) {}
System\Windows\Input\FocusChangedEventHandler.cs (1)
13public delegate void KeyboardFocusChangedEventHandler(object sender, KeyboardFocusChangedEventArgs e);
System\Windows\Input\KeyboardDevice.cs (4)
287KeyboardFocusChangedEventArgs previewLostFocus = new KeyboardFocusChangedEventArgs(this, timeStamp, (IInputElement)_focus, (IInputElement)newFocus); 304KeyboardFocusChangedEventArgs previewGotFocus = new KeyboardFocusChangedEventArgs(this, timeStamp, (IInputElement)_focus, (IInputElement)newFocus); 472KeyboardFocusChangedEventArgs lostFocus = new KeyboardFocusChangedEventArgs(this, timestamp, (IInputElement) oldFocus, (IInputElement) focus); 480KeyboardFocusChangedEventArgs gotFocus = new KeyboardFocusChangedEventArgs(this, timestamp, (IInputElement) oldFocus, (IInputElement) _focus);
PresentationFramework (35)
MS\Internal\Annotations\Component\MarkedHighlightComponent.cs (2)
725private void OnContainerGotFocus(Object sender, KeyboardFocusChangedEventArgs args) 738private void OnContainerLostFocus(object sender, KeyboardFocusChangedEventArgs args)
System\Windows\Controls\Button.cs (1)
197private void OnFocusChanged(object sender, KeyboardFocusChangedEventArgs e)
System\Windows\Controls\ComboBoxItem.cs (1)
191protected override void OnGotKeyboardFocus(KeyboardFocusChangedEventArgs e)
System\Windows\Controls\GridSplitter.cs (1)
616protected override void OnLostKeyboardFocus(KeyboardFocusChangedEventArgs e)
System\Windows\Controls\GridViewColumnHeader.cs (1)
336protected override void OnLostKeyboardFocus(KeyboardFocusChangedEventArgs e)
System\Windows\Controls\ItemsControl.cs (1)
3203private static void OnGotFocus(object sender, KeyboardFocusChangedEventArgs e)
System\Windows\Controls\ListBox.cs (1)
583private static void OnGotKeyboardFocus(object sender, KeyboardFocusChangedEventArgs e)
System\Windows\Controls\MenuItem.cs (1)
1845protected override void OnGotKeyboardFocus(KeyboardFocusChangedEventArgs e)
System\Windows\Controls\PasswordBox.cs (2)
725protected override void OnGotKeyboardFocus(KeyboardFocusChangedEventArgs e) 740protected override void OnLostKeyboardFocus(KeyboardFocusChangedEventArgs e)
System\Windows\Controls\PopupControlService.cs (4)
134ProcessGotKeyboardFocus(sender, (KeyboardFocusChangedEventArgs)e.StagingItem.Input); 138ProcessLostKeyboardFocus(sender, (KeyboardFocusChangedEventArgs)e.StagingItem.Input); 178private void ProcessGotKeyboardFocus(object sender, KeyboardFocusChangedEventArgs e) 194private void ProcessLostKeyboardFocus(object sender, KeyboardFocusChangedEventArgs e)
System\Windows\Controls\Primitives\ButtonBase.cs (1)
712protected override void OnLostKeyboardFocus(KeyboardFocusChangedEventArgs e)
System\Windows\Controls\Primitives\TextBoxBase.cs (2)
1345protected override void OnGotKeyboardFocus(KeyboardFocusChangedEventArgs e) 1363protected override void OnLostKeyboardFocus(KeyboardFocusChangedEventArgs e)
System\Windows\Controls\StickyNote.cs (1)
583protected override void OnGotKeyboardFocus(KeyboardFocusChangedEventArgs args)
System\Windows\Controls\TabItem.cs (1)
290protected override void OnPreviewGotKeyboardFocus(KeyboardFocusChangedEventArgs e)
System\windows\Documents\TextEditor.cs (4)
747internal void OnGotKeyboardFocus(KeyboardFocusChangedEventArgs e) 752internal void OnLostKeyboardFocus(KeyboardFocusChangedEventArgs e) 1687private static void OnGotKeyboardFocus(object sender, KeyboardFocusChangedEventArgs e) 1742private static void OnLostKeyboardFocus(object sender, KeyboardFocusChangedEventArgs e)
System\Windows\FrameworkContentElement.cs (2)
1040private static void OnGotKeyboardFocus(object sender, KeyboardFocusChangedEventArgs e) 1056private static void OnLostKeyboardFocus(object sender, KeyboardFocusChangedEventArgs e)
System\Windows\FrameworkElement.cs (3)
5337private static void OnPreviewGotKeyboardFocus(object sender, KeyboardFocusChangedEventArgs e) 5360private static void OnGotKeyboardFocus(object sender, KeyboardFocusChangedEventArgs e) 5377private static void OnLostKeyboardFocus(object sender, KeyboardFocusChangedEventArgs e)
System\Windows\Input\KeyboardNavigation.cs (4)
306internal void NotifyFocusChanged(object sender, KeyboardFocusChangedEventArgs e) 2787private void _LostFocus(object sender, KeyboardFocusChangedEventArgs e) 3168KeyboardFocusChangedEventArgs args = inputEventArgs as KeyboardFocusChangedEventArgs;
System\Windows\Interop\ActiveXHost.cs (2)
888private static void OnGotFocus(object sender, KeyboardFocusChangedEventArgs e) 904private static void OnLostFocus(object sender, KeyboardFocusChangedEventArgs e)
PresentationUI (2)
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (2)
1666private void OnZoomComboBoxLostFocus(object sender, KeyboardFocusChangedEventArgs e) 1911private void OnPageTextBoxLostFocus(object sender, KeyboardFocusChangedEventArgs e)
System.Windows.Controls.Ribbon (21)
Microsoft\Windows\Controls\Ribbon\RibbonButton.cs (2)
468protected override void OnGotKeyboardFocus(KeyboardFocusChangedEventArgs e) 474protected override void OnLostKeyboardFocus(KeyboardFocusChangedEventArgs e)
Microsoft\Windows\Controls\Ribbon\RibbonCheckBox.cs (2)
484protected override void OnGotKeyboardFocus(KeyboardFocusChangedEventArgs e) 490protected override void OnLostKeyboardFocus(KeyboardFocusChangedEventArgs e)
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (3)
165protected override void OnGotKeyboardFocus(KeyboardFocusChangedEventArgs e) 191protected override void OnLostKeyboardFocus(KeyboardFocusChangedEventArgs e) 1441void OnGalleryGotKeyboardFocus(object sender, KeyboardFocusChangedEventArgs e)
Microsoft\Windows\Controls\Ribbon\RibbonGalleryItem.cs (2)
402protected override void OnGotKeyboardFocus(KeyboardFocusChangedEventArgs e) 470protected override void OnLostKeyboardFocus(KeyboardFocusChangedEventArgs e)
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (3)
1506private static void OnGotKeyboardFocusThunk(object sender, KeyboardFocusChangedEventArgs e) 1512private void OnGotKeyboardFocusThunk(KeyboardFocusChangedEventArgs e) 1526protected override void OnGotKeyboardFocus(KeyboardFocusChangedEventArgs e)
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (2)
985protected override void OnGotKeyboardFocus(KeyboardFocusChangedEventArgs e) 1006protected override void OnLostKeyboardFocus(KeyboardFocusChangedEventArgs e)
Microsoft\Windows\Controls\Ribbon\RibbonRadioButton.cs (2)
500protected override void OnGotKeyboardFocus(KeyboardFocusChangedEventArgs e) 506protected override void OnLostKeyboardFocus(KeyboardFocusChangedEventArgs e)
Microsoft\Windows\Controls\Ribbon\RibbonTabHeader.cs (1)
335protected override void OnGotKeyboardFocus(KeyboardFocusChangedEventArgs e)
Microsoft\Windows\Controls\Ribbon\RibbonTextBox.cs (2)
576protected override void OnGotKeyboardFocus(KeyboardFocusChangedEventArgs e) 582protected override void OnLostKeyboardFocus(KeyboardFocusChangedEventArgs e)
Microsoft\Windows\Controls\Ribbon\RibbonToggleButton.cs (2)
507protected override void OnGotKeyboardFocus(KeyboardFocusChangedEventArgs e) 513protected override void OnLostKeyboardFocus(KeyboardFocusChangedEventArgs e)