4 instantiations of KeyboardFocusChangedEventArgs
PresentationCore (4)
System\Windows\Input\KeyboardDevice.cs (4)
274
KeyboardFocusChangedEventArgs previewLostFocus = new
KeyboardFocusChangedEventArgs
(this, timeStamp, (IInputElement)_focus, (IInputElement)newFocus)
293
KeyboardFocusChangedEventArgs previewGotFocus = new
KeyboardFocusChangedEventArgs
(this, timeStamp, (IInputElement)_focus, (IInputElement)newFocus)
467
KeyboardFocusChangedEventArgs lostFocus = new
KeyboardFocusChangedEventArgs
(this, timestamp, (IInputElement)oldFocus, (IInputElement)focus)
477
KeyboardFocusChangedEventArgs gotFocus = new
KeyboardFocusChangedEventArgs
(this, timestamp, (IInputElement)oldFocus, (IInputElement)_focus)
84 references to KeyboardFocusChangedEventArgs
Microsoft.CodeAnalysis.EditorFeatures.Wpf (2)
InlineRename\UI\Adornment\RenameFlyout.xaml.cs (1)
220
private void Adornment_GotKeyboardFocus(object sender,
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)
1711
protected internal virtual void OnPreviewGotKeyboardFocus(
KeyboardFocusChangedEventArgs
e) {}
1730
protected internal virtual void OnGotKeyboardFocus(
KeyboardFocusChangedEventArgs
e) {}
1749
protected internal virtual void OnPreviewLostKeyboardFocus(
KeyboardFocusChangedEventArgs
e) {}
1768
protected internal virtual void OnLostKeyboardFocus(
KeyboardFocusChangedEventArgs
e) {}
System\Windows\Generated\UIElement.cs (8)
2014
private static void OnPreviewGotKeyboardFocusThunk(object sender,
KeyboardFocusChangedEventArgs
e)
2039
private static void OnGotKeyboardFocusThunk(object sender,
KeyboardFocusChangedEventArgs
e)
2064
private static void OnPreviewLostKeyboardFocusThunk(object sender,
KeyboardFocusChangedEventArgs
e)
2089
private static void OnLostKeyboardFocusThunk(object sender,
KeyboardFocusChangedEventArgs
e)
3664
protected virtual void OnPreviewGotKeyboardFocus(
KeyboardFocusChangedEventArgs
e) {}
3683
protected virtual void OnGotKeyboardFocus(
KeyboardFocusChangedEventArgs
e) {}
3702
protected virtual void OnPreviewLostKeyboardFocus(
KeyboardFocusChangedEventArgs
e) {}
3721
protected virtual void OnLostKeyboardFocus(
KeyboardFocusChangedEventArgs
e) {}
System\Windows\Generated\UIElement3D.cs (4)
1441
protected internal virtual void OnPreviewGotKeyboardFocus(
KeyboardFocusChangedEventArgs
e) {}
1460
protected internal virtual void OnGotKeyboardFocus(
KeyboardFocusChangedEventArgs
e) {}
1479
protected internal virtual void OnPreviewLostKeyboardFocus(
KeyboardFocusChangedEventArgs
e) {}
1498
protected internal virtual void OnLostKeyboardFocus(
KeyboardFocusChangedEventArgs
e) {}
System\Windows\Input\FocusChangedEventHandler.cs (1)
9
public delegate void KeyboardFocusChangedEventHandler(object sender,
KeyboardFocusChangedEventArgs
e);
System\Windows\Input\KeyboardDevice.cs (4)
274
KeyboardFocusChangedEventArgs
previewLostFocus = new KeyboardFocusChangedEventArgs(this, timeStamp, (IInputElement)_focus, (IInputElement)newFocus)
293
KeyboardFocusChangedEventArgs
previewGotFocus = new KeyboardFocusChangedEventArgs(this, timeStamp, (IInputElement)_focus, (IInputElement)newFocus)
467
KeyboardFocusChangedEventArgs
lostFocus = new KeyboardFocusChangedEventArgs(this, timestamp, (IInputElement)oldFocus, (IInputElement)focus)
477
KeyboardFocusChangedEventArgs
gotFocus = new KeyboardFocusChangedEventArgs(this, timestamp, (IInputElement)oldFocus, (IInputElement)_focus)
PresentationFramework (35)
MS\Internal\Annotations\Component\MarkedHighlightComponent.cs (2)
722
private void OnContainerGotFocus(Object sender,
KeyboardFocusChangedEventArgs
args)
735
private void OnContainerLostFocus(object sender,
KeyboardFocusChangedEventArgs
args)
System\Windows\Controls\Button.cs (1)
187
private void OnFocusChanged(object sender,
KeyboardFocusChangedEventArgs
e)
System\Windows\Controls\ComboBoxItem.cs (1)
170
protected override void OnGotKeyboardFocus(
KeyboardFocusChangedEventArgs
e)
System\Windows\Controls\GridSplitter.cs (1)
615
protected override void OnLostKeyboardFocus(
KeyboardFocusChangedEventArgs
e)
System\Windows\Controls\GridViewColumnHeader.cs (1)
331
protected override void OnLostKeyboardFocus(
KeyboardFocusChangedEventArgs
e)
System\Windows\Controls\ItemsControl.cs (1)
3163
private static void OnGotFocus(object sender,
KeyboardFocusChangedEventArgs
e)
System\Windows\Controls\ListBox.cs (1)
575
private static void OnGotKeyboardFocus(object sender,
KeyboardFocusChangedEventArgs
e)
System\Windows\Controls\MenuItem.cs (1)
1827
protected override void OnGotKeyboardFocus(
KeyboardFocusChangedEventArgs
e)
System\Windows\Controls\PasswordBox.cs (2)
709
protected override void OnGotKeyboardFocus(
KeyboardFocusChangedEventArgs
e)
724
protected override void OnLostKeyboardFocus(
KeyboardFocusChangedEventArgs
e)
System\Windows\Controls\PopupControlService.cs (4)
123
ProcessGotKeyboardFocus(sender, (
KeyboardFocusChangedEventArgs
)e.StagingItem.Input);
127
ProcessLostKeyboardFocus(sender, (
KeyboardFocusChangedEventArgs
)e.StagingItem.Input);
167
private void ProcessGotKeyboardFocus(object sender,
KeyboardFocusChangedEventArgs
e)
183
private void ProcessLostKeyboardFocus(object sender,
KeyboardFocusChangedEventArgs
e)
System\Windows\Controls\Primitives\ButtonBase.cs (1)
700
protected override void OnLostKeyboardFocus(
KeyboardFocusChangedEventArgs
e)
System\Windows\Controls\Primitives\TextBoxBase.cs (2)
1292
protected override void OnGotKeyboardFocus(
KeyboardFocusChangedEventArgs
e)
1307
protected override void OnLostKeyboardFocus(
KeyboardFocusChangedEventArgs
e)
System\Windows\Controls\StickyNote.cs (1)
549
protected override void OnGotKeyboardFocus(
KeyboardFocusChangedEventArgs
args)
System\Windows\Controls\TabItem.cs (1)
282
protected override void OnPreviewGotKeyboardFocus(
KeyboardFocusChangedEventArgs
e)
System\windows\Documents\TextEditor.cs (4)
734
internal void OnGotKeyboardFocus(
KeyboardFocusChangedEventArgs
e)
739
internal void OnLostKeyboardFocus(
KeyboardFocusChangedEventArgs
e)
1662
private static void OnGotKeyboardFocus(object sender,
KeyboardFocusChangedEventArgs
e)
1714
private static void OnLostKeyboardFocus(object sender,
KeyboardFocusChangedEventArgs
e)
System\Windows\FrameworkContentElement.cs (2)
1017
private static void OnGotKeyboardFocus(object sender,
KeyboardFocusChangedEventArgs
e)
1033
private static void OnLostKeyboardFocus(object sender,
KeyboardFocusChangedEventArgs
e)
System\Windows\FrameworkElement.cs (3)
5324
private static void OnPreviewGotKeyboardFocus(object sender,
KeyboardFocusChangedEventArgs
e)
5347
private static void OnGotKeyboardFocus(object sender,
KeyboardFocusChangedEventArgs
e)
5364
private static void OnLostKeyboardFocus(object sender,
KeyboardFocusChangedEventArgs
e)
System\Windows\Input\KeyboardNavigation.cs (4)
295
internal void NotifyFocusChanged(object sender,
KeyboardFocusChangedEventArgs
e)
2771
private void _LostFocus(object sender,
KeyboardFocusChangedEventArgs
e)
3152
KeyboardFocusChangedEventArgs
args = inputEventArgs as
KeyboardFocusChangedEventArgs
;
System\Windows\Interop\ActiveXHost.cs (2)
873
private static void OnGotFocus(object sender,
KeyboardFocusChangedEventArgs
e)
889
private static void OnLostFocus(object sender,
KeyboardFocusChangedEventArgs
e)
PresentationUI (2)
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (2)
1669
private void OnZoomComboBoxLostFocus(object sender,
KeyboardFocusChangedEventArgs
e)
1909
private void OnPageTextBoxLostFocus(object sender,
KeyboardFocusChangedEventArgs
e)
System.Windows.Controls.Ribbon (21)
Microsoft\Windows\Controls\Ribbon\RibbonButton.cs (2)
464
protected override void OnGotKeyboardFocus(
KeyboardFocusChangedEventArgs
e)
470
protected override void OnLostKeyboardFocus(
KeyboardFocusChangedEventArgs
e)
Microsoft\Windows\Controls\Ribbon\RibbonCheckBox.cs (2)
481
protected override void OnGotKeyboardFocus(
KeyboardFocusChangedEventArgs
e)
487
protected override void OnLostKeyboardFocus(
KeyboardFocusChangedEventArgs
e)
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (3)
161
protected override void OnGotKeyboardFocus(
KeyboardFocusChangedEventArgs
e)
187
protected override void OnLostKeyboardFocus(
KeyboardFocusChangedEventArgs
e)
1438
private void OnGalleryGotKeyboardFocus(object sender,
KeyboardFocusChangedEventArgs
e)
Microsoft\Windows\Controls\Ribbon\RibbonGalleryItem.cs (2)
399
protected override void OnGotKeyboardFocus(
KeyboardFocusChangedEventArgs
e)
467
protected override void OnLostKeyboardFocus(
KeyboardFocusChangedEventArgs
e)
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (3)
1493
private static void OnGotKeyboardFocusThunk(object sender,
KeyboardFocusChangedEventArgs
e)
1499
private void OnGotKeyboardFocusThunk(
KeyboardFocusChangedEventArgs
e)
1513
protected override void OnGotKeyboardFocus(
KeyboardFocusChangedEventArgs
e)
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (2)
978
protected override void OnGotKeyboardFocus(
KeyboardFocusChangedEventArgs
e)
999
protected override void OnLostKeyboardFocus(
KeyboardFocusChangedEventArgs
e)
Microsoft\Windows\Controls\Ribbon\RibbonRadioButton.cs (2)
497
protected override void OnGotKeyboardFocus(
KeyboardFocusChangedEventArgs
e)
503
protected override void OnLostKeyboardFocus(
KeyboardFocusChangedEventArgs
e)
Microsoft\Windows\Controls\Ribbon\RibbonTabHeader.cs (1)
332
protected override void OnGotKeyboardFocus(
KeyboardFocusChangedEventArgs
e)
Microsoft\Windows\Controls\Ribbon\RibbonTextBox.cs (2)
573
protected override void OnGotKeyboardFocus(
KeyboardFocusChangedEventArgs
e)
579
protected override void OnLostKeyboardFocus(
KeyboardFocusChangedEventArgs
e)
Microsoft\Windows\Controls\Ribbon\RibbonToggleButton.cs (2)
504
protected override void OnGotKeyboardFocus(
KeyboardFocusChangedEventArgs
e)
510
protected override void OnLostKeyboardFocus(
KeyboardFocusChangedEventArgs
e)