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