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