4 instantiations of KeyboardFocusChangedEventArgs
PresentationCore (4)
System\Windows\Input\KeyboardDevice.cs (4)
275
KeyboardFocusChangedEventArgs previewLostFocus = new
KeyboardFocusChangedEventArgs
(this, timeStamp, (IInputElement)_focus, (IInputElement)newFocus)
294
KeyboardFocusChangedEventArgs previewGotFocus = new
KeyboardFocusChangedEventArgs
(this, timeStamp, (IInputElement)_focus, (IInputElement)newFocus)
468
KeyboardFocusChangedEventArgs lostFocus = new
KeyboardFocusChangedEventArgs
(this, timestamp, (IInputElement)oldFocus, (IInputElement)focus)
478
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)
1712
protected internal virtual void OnPreviewGotKeyboardFocus(
KeyboardFocusChangedEventArgs
e) {}
1731
protected internal virtual void OnGotKeyboardFocus(
KeyboardFocusChangedEventArgs
e) {}
1750
protected internal virtual void OnPreviewLostKeyboardFocus(
KeyboardFocusChangedEventArgs
e) {}
1769
protected internal virtual void OnLostKeyboardFocus(
KeyboardFocusChangedEventArgs
e) {}
System\Windows\Generated\UIElement.cs (8)
2015
private static void OnPreviewGotKeyboardFocusThunk(object sender,
KeyboardFocusChangedEventArgs
e)
2040
private static void OnGotKeyboardFocusThunk(object sender,
KeyboardFocusChangedEventArgs
e)
2065
private static void OnPreviewLostKeyboardFocusThunk(object sender,
KeyboardFocusChangedEventArgs
e)
2090
private static void OnLostKeyboardFocusThunk(object sender,
KeyboardFocusChangedEventArgs
e)
3665
protected virtual void OnPreviewGotKeyboardFocus(
KeyboardFocusChangedEventArgs
e) {}
3684
protected virtual void OnGotKeyboardFocus(
KeyboardFocusChangedEventArgs
e) {}
3703
protected virtual void OnPreviewLostKeyboardFocus(
KeyboardFocusChangedEventArgs
e) {}
3722
protected virtual void OnLostKeyboardFocus(
KeyboardFocusChangedEventArgs
e) {}
System\Windows\Generated\UIElement3D.cs (4)
1440
protected internal virtual void OnPreviewGotKeyboardFocus(
KeyboardFocusChangedEventArgs
e) {}
1459
protected internal virtual void OnGotKeyboardFocus(
KeyboardFocusChangedEventArgs
e) {}
1478
protected internal virtual void OnPreviewLostKeyboardFocus(
KeyboardFocusChangedEventArgs
e) {}
1497
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)
275
KeyboardFocusChangedEventArgs
previewLostFocus = new KeyboardFocusChangedEventArgs(this, timeStamp, (IInputElement)_focus, (IInputElement)newFocus)
294
KeyboardFocusChangedEventArgs
previewGotFocus = new KeyboardFocusChangedEventArgs(this, timeStamp, (IInputElement)_focus, (IInputElement)newFocus)
468
KeyboardFocusChangedEventArgs
lostFocus = new KeyboardFocusChangedEventArgs(this, timestamp, (IInputElement)oldFocus, (IInputElement)focus)
478
KeyboardFocusChangedEventArgs
gotFocus = new KeyboardFocusChangedEventArgs(this, timestamp, (IInputElement)oldFocus, (IInputElement)_focus)
PresentationFramework (35)
MS\Internal\Annotations\Component\MarkedHighlightComponent.cs (2)
723
private void OnContainerGotFocus(Object sender,
KeyboardFocusChangedEventArgs
args)
736
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)
171
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)
332
protected override void OnLostKeyboardFocus(
KeyboardFocusChangedEventArgs
e)
System\Windows\Controls\ItemsControl.cs (1)
3164
private static void OnGotFocus(object sender,
KeyboardFocusChangedEventArgs
e)
System\Windows\Controls\ListBox.cs (1)
576
private static void OnGotKeyboardFocus(object sender,
KeyboardFocusChangedEventArgs
e)
System\Windows\Controls\MenuItem.cs (1)
1828
protected override void OnGotKeyboardFocus(
KeyboardFocusChangedEventArgs
e)
System\Windows\Controls\PasswordBox.cs (2)
710
protected override void OnGotKeyboardFocus(
KeyboardFocusChangedEventArgs
e)
725
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)
1293
protected override void OnGotKeyboardFocus(
KeyboardFocusChangedEventArgs
e)
1308
protected override void OnLostKeyboardFocus(
KeyboardFocusChangedEventArgs
e)
System\Windows\Controls\StickyNote.cs (1)
550
protected override void OnGotKeyboardFocus(
KeyboardFocusChangedEventArgs
args)
System\Windows\Controls\TabItem.cs (1)
283
protected override void OnPreviewGotKeyboardFocus(
KeyboardFocusChangedEventArgs
e)
System\windows\Documents\TextEditor.cs (4)
735
internal void OnGotKeyboardFocus(
KeyboardFocusChangedEventArgs
e)
740
internal void OnLostKeyboardFocus(
KeyboardFocusChangedEventArgs
e)
1663
private static void OnGotKeyboardFocus(object sender,
KeyboardFocusChangedEventArgs
e)
1715
private static void OnLostKeyboardFocus(object sender,
KeyboardFocusChangedEventArgs
e)
System\Windows\FrameworkContentElement.cs (2)
1018
private static void OnGotKeyboardFocus(object sender,
KeyboardFocusChangedEventArgs
e)
1034
private static void OnLostKeyboardFocus(object sender,
KeyboardFocusChangedEventArgs
e)
System\Windows\FrameworkElement.cs (3)
5325
private static void OnPreviewGotKeyboardFocus(object sender,
KeyboardFocusChangedEventArgs
e)
5348
private static void OnGotKeyboardFocus(object sender,
KeyboardFocusChangedEventArgs
e)
5365
private static void OnLostKeyboardFocus(object sender,
KeyboardFocusChangedEventArgs
e)
System\Windows\Input\KeyboardNavigation.cs (4)
296
internal void NotifyFocusChanged(object sender,
KeyboardFocusChangedEventArgs
e)
2773
private void _LostFocus(object sender,
KeyboardFocusChangedEventArgs
e)
3154
KeyboardFocusChangedEventArgs
args = inputEventArgs as
KeyboardFocusChangedEventArgs
;
System\Windows\Interop\ActiveXHost.cs (2)
874
private static void OnGotFocus(object sender,
KeyboardFocusChangedEventArgs
e)
890
private static void OnLostFocus(object sender,
KeyboardFocusChangedEventArgs
e)
PresentationUI (2)
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (2)
1670
private void OnZoomComboBoxLostFocus(object sender,
KeyboardFocusChangedEventArgs
e)
1910
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)
162
protected override void OnGotKeyboardFocus(
KeyboardFocusChangedEventArgs
e)
188
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)
1494
private static void OnGotKeyboardFocusThunk(object sender,
KeyboardFocusChangedEventArgs
e)
1500
private void OnGotKeyboardFocusThunk(
KeyboardFocusChangedEventArgs
e)
1514
protected override void OnGotKeyboardFocus(
KeyboardFocusChangedEventArgs
e)
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (2)
979
protected override void OnGotKeyboardFocus(
KeyboardFocusChangedEventArgs
e)
1000
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)