4 instantiations of KeyboardFocusChangedEventArgs
PresentationCore (4)
System\Windows\Input\KeyboardDevice.cs (4)
278KeyboardFocusChangedEventArgs previewLostFocus = new KeyboardFocusChangedEventArgs(this, timeStamp, (IInputElement)_focus, (IInputElement)newFocus); 295KeyboardFocusChangedEventArgs previewGotFocus = new KeyboardFocusChangedEventArgs(this, timeStamp, (IInputElement)_focus, (IInputElement)newFocus); 463KeyboardFocusChangedEventArgs lostFocus = new KeyboardFocusChangedEventArgs(this, timestamp, (IInputElement) oldFocus, (IInputElement) focus); 471KeyboardFocusChangedEventArgs 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)
256private 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)
1723protected internal virtual void OnPreviewGotKeyboardFocus(KeyboardFocusChangedEventArgs e) {} 1742protected internal virtual void OnGotKeyboardFocus(KeyboardFocusChangedEventArgs e) {} 1761protected internal virtual void OnPreviewLostKeyboardFocus(KeyboardFocusChangedEventArgs e) {} 1780protected internal virtual void OnLostKeyboardFocus(KeyboardFocusChangedEventArgs e) {}
System\Windows\Generated\UIElement.cs (8)
2026private static void OnPreviewGotKeyboardFocusThunk(object sender, KeyboardFocusChangedEventArgs e) 2051private static void OnGotKeyboardFocusThunk(object sender, KeyboardFocusChangedEventArgs e) 2076private static void OnPreviewLostKeyboardFocusThunk(object sender, KeyboardFocusChangedEventArgs e) 2101private static void OnLostKeyboardFocusThunk(object sender, KeyboardFocusChangedEventArgs e) 3676protected virtual void OnPreviewGotKeyboardFocus(KeyboardFocusChangedEventArgs e) {} 3695protected virtual void OnGotKeyboardFocus(KeyboardFocusChangedEventArgs e) {} 3714protected virtual void OnPreviewLostKeyboardFocus(KeyboardFocusChangedEventArgs e) {} 3733protected virtual void OnLostKeyboardFocus(KeyboardFocusChangedEventArgs e) {}
System\Windows\Generated\UIElement3D.cs (4)
1442protected internal virtual void OnPreviewGotKeyboardFocus(KeyboardFocusChangedEventArgs e) {} 1461protected internal virtual void OnGotKeyboardFocus(KeyboardFocusChangedEventArgs e) {} 1480protected internal virtual void OnPreviewLostKeyboardFocus(KeyboardFocusChangedEventArgs e) {} 1499protected internal virtual void OnLostKeyboardFocus(KeyboardFocusChangedEventArgs e) {}
System\Windows\Input\FocusChangedEventHandler.cs (1)
10public delegate void KeyboardFocusChangedEventHandler(object sender, KeyboardFocusChangedEventArgs e);
System\Windows\Input\KeyboardDevice.cs (4)
278KeyboardFocusChangedEventArgs previewLostFocus = new KeyboardFocusChangedEventArgs(this, timeStamp, (IInputElement)_focus, (IInputElement)newFocus); 295KeyboardFocusChangedEventArgs previewGotFocus = new KeyboardFocusChangedEventArgs(this, timeStamp, (IInputElement)_focus, (IInputElement)newFocus); 463KeyboardFocusChangedEventArgs lostFocus = new KeyboardFocusChangedEventArgs(this, timestamp, (IInputElement) oldFocus, (IInputElement) focus); 471KeyboardFocusChangedEventArgs gotFocus = new KeyboardFocusChangedEventArgs(this, timestamp, (IInputElement) oldFocus, (IInputElement) _focus);
PresentationFramework (35)
MS\Internal\Annotations\Component\MarkedHighlightComponent.cs (2)
719private void OnContainerGotFocus(Object sender, KeyboardFocusChangedEventArgs args) 732private void OnContainerLostFocus(object sender, KeyboardFocusChangedEventArgs args)
System\Windows\Controls\Button.cs (1)
188private void OnFocusChanged(object sender, KeyboardFocusChangedEventArgs e)
System\Windows\Controls\ComboBoxItem.cs (1)
180protected override void OnGotKeyboardFocus(KeyboardFocusChangedEventArgs e)
System\Windows\Controls\GridSplitter.cs (1)
610protected override void OnLostKeyboardFocus(KeyboardFocusChangedEventArgs e)
System\Windows\Controls\GridViewColumnHeader.cs (1)
332protected override void OnLostKeyboardFocus(KeyboardFocusChangedEventArgs e)
System\Windows\Controls\ItemsControl.cs (1)
3194private static void OnGotFocus(object sender, KeyboardFocusChangedEventArgs e)
System\Windows\Controls\ListBox.cs (1)
577private static void OnGotKeyboardFocus(object sender, KeyboardFocusChangedEventArgs e)
System\Windows\Controls\MenuItem.cs (1)
1835protected override void OnGotKeyboardFocus(KeyboardFocusChangedEventArgs e)
System\Windows\Controls\PasswordBox.cs (2)
717protected override void OnGotKeyboardFocus(KeyboardFocusChangedEventArgs e) 732protected override void OnLostKeyboardFocus(KeyboardFocusChangedEventArgs e)
System\Windows\Controls\PopupControlService.cs (4)
124ProcessGotKeyboardFocus(sender, (KeyboardFocusChangedEventArgs)e.StagingItem.Input); 128ProcessLostKeyboardFocus(sender, (KeyboardFocusChangedEventArgs)e.StagingItem.Input); 168private void ProcessGotKeyboardFocus(object sender, KeyboardFocusChangedEventArgs e) 184private void ProcessLostKeyboardFocus(object sender, KeyboardFocusChangedEventArgs e)
System\Windows\Controls\Primitives\ButtonBase.cs (1)
701protected override void OnLostKeyboardFocus(KeyboardFocusChangedEventArgs e)
System\Windows\Controls\Primitives\TextBoxBase.cs (2)
1336protected override void OnGotKeyboardFocus(KeyboardFocusChangedEventArgs e) 1354protected override void OnLostKeyboardFocus(KeyboardFocusChangedEventArgs e)
System\Windows\Controls\StickyNote.cs (1)
567protected override void OnGotKeyboardFocus(KeyboardFocusChangedEventArgs args)
System\Windows\Controls\TabItem.cs (1)
284protected override void OnPreviewGotKeyboardFocus(KeyboardFocusChangedEventArgs e)
System\windows\Documents\TextEditor.cs (4)
741internal void OnGotKeyboardFocus(KeyboardFocusChangedEventArgs e) 746internal void OnLostKeyboardFocus(KeyboardFocusChangedEventArgs e) 1681private static void OnGotKeyboardFocus(object sender, KeyboardFocusChangedEventArgs e) 1736private static void OnLostKeyboardFocus(object sender, KeyboardFocusChangedEventArgs e)
System\Windows\FrameworkContentElement.cs (2)
1028private static void OnGotKeyboardFocus(object sender, KeyboardFocusChangedEventArgs e) 1044private static void OnLostKeyboardFocus(object sender, KeyboardFocusChangedEventArgs e)
System\Windows\FrameworkElement.cs (3)
5326private static void OnPreviewGotKeyboardFocus(object sender, KeyboardFocusChangedEventArgs e) 5349private static void OnGotKeyboardFocus(object sender, KeyboardFocusChangedEventArgs e) 5366private static void OnLostKeyboardFocus(object sender, KeyboardFocusChangedEventArgs e)
System\Windows\Input\KeyboardNavigation.cs (4)
296internal void NotifyFocusChanged(object sender, KeyboardFocusChangedEventArgs e) 2777private void _LostFocus(object sender, KeyboardFocusChangedEventArgs e) 3158KeyboardFocusChangedEventArgs args = inputEventArgs as KeyboardFocusChangedEventArgs;
System\Windows\Interop\ActiveXHost.cs (2)
878private static void OnGotFocus(object sender, KeyboardFocusChangedEventArgs e) 894private static void OnLostFocus(object sender, KeyboardFocusChangedEventArgs e)
PresentationUI (2)
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (2)
1659private void OnZoomComboBoxLostFocus(object sender, KeyboardFocusChangedEventArgs e) 1904private void OnPageTextBoxLostFocus(object sender, KeyboardFocusChangedEventArgs e)
System.Windows.Controls.Ribbon (21)
Microsoft\Windows\Controls\Ribbon\RibbonButton.cs (2)
465protected override void OnGotKeyboardFocus(KeyboardFocusChangedEventArgs e) 471protected override void OnLostKeyboardFocus(KeyboardFocusChangedEventArgs e)
Microsoft\Windows\Controls\Ribbon\RibbonCheckBox.cs (2)
482protected override void OnGotKeyboardFocus(KeyboardFocusChangedEventArgs e) 488protected override void OnLostKeyboardFocus(KeyboardFocusChangedEventArgs e)
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (3)
163protected override void OnGotKeyboardFocus(KeyboardFocusChangedEventArgs e) 189protected override void OnLostKeyboardFocus(KeyboardFocusChangedEventArgs e) 1439void OnGalleryGotKeyboardFocus(object sender, KeyboardFocusChangedEventArgs e)
Microsoft\Windows\Controls\Ribbon\RibbonGalleryItem.cs (2)
400protected override void OnGotKeyboardFocus(KeyboardFocusChangedEventArgs e) 468protected override void OnLostKeyboardFocus(KeyboardFocusChangedEventArgs e)
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (3)
1503private static void OnGotKeyboardFocusThunk(object sender, KeyboardFocusChangedEventArgs e) 1509private void OnGotKeyboardFocusThunk(KeyboardFocusChangedEventArgs e) 1523protected override void OnGotKeyboardFocus(KeyboardFocusChangedEventArgs e)
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (2)
982protected override void OnGotKeyboardFocus(KeyboardFocusChangedEventArgs e) 1003protected override void OnLostKeyboardFocus(KeyboardFocusChangedEventArgs e)
Microsoft\Windows\Controls\Ribbon\RibbonRadioButton.cs (2)
498protected override void OnGotKeyboardFocus(KeyboardFocusChangedEventArgs e) 504protected override void OnLostKeyboardFocus(KeyboardFocusChangedEventArgs e)
Microsoft\Windows\Controls\Ribbon\RibbonTabHeader.cs (1)
333protected override void OnGotKeyboardFocus(KeyboardFocusChangedEventArgs e)
Microsoft\Windows\Controls\Ribbon\RibbonTextBox.cs (2)
574protected override void OnGotKeyboardFocus(KeyboardFocusChangedEventArgs e) 580protected override void OnLostKeyboardFocus(KeyboardFocusChangedEventArgs e)
Microsoft\Windows\Controls\Ribbon\RibbonToggleButton.cs (2)
505protected override void OnGotKeyboardFocus(KeyboardFocusChangedEventArgs e) 511protected override void OnLostKeyboardFocus(KeyboardFocusChangedEventArgs e)