23 references to GotKeyboardFocusEvent
PresentationCore (14)
System\Windows\Generated\ContentElement.cs (3)
1717
public static readonly RoutedEvent GotKeyboardFocusEvent = Keyboard.
GotKeyboardFocusEvent
.AddOwner(_typeofThis);
1724
add { AddHandler(Keyboard.
GotKeyboardFocusEvent
, value, false); }
1725
remove { RemoveHandler(Keyboard.
GotKeyboardFocusEvent
, value); }
System\Windows\Generated\UIElement.cs (4)
773
EventManager.RegisterClassHandler(type, Keyboard.
GotKeyboardFocusEvent
, new KeyboardFocusChangedEventHandler(UIElement.OnGotKeyboardFocusThunk), false);
3670
public static readonly RoutedEvent GotKeyboardFocusEvent = Keyboard.
GotKeyboardFocusEvent
.AddOwner(_typeofThis);
3677
add { AddHandler(Keyboard.
GotKeyboardFocusEvent
, value, false); }
3678
remove { RemoveHandler(Keyboard.
GotKeyboardFocusEvent
, value); }
System\Windows\Generated\UIElement3D.cs (3)
1445
public static readonly RoutedEvent GotKeyboardFocusEvent = Keyboard.
GotKeyboardFocusEvent
.AddOwner(_typeofThis);
1452
add { AddHandler(Keyboard.
GotKeyboardFocusEvent
, value, false); }
1453
remove { RemoveHandler(Keyboard.
GotKeyboardFocusEvent
, value); }
System\Windows\Input\Command\CommandDevice.cs (1)
110
e.StagingItem.Input.RoutedEvent == Keyboard.
GotKeyboardFocusEvent
||
System\Windows\Input\Keyboard.cs (2)
204
UIElement.AddHandler(element,
GotKeyboardFocusEvent
, handler);
214
UIElement.RemoveHandler(element,
GotKeyboardFocusEvent
, handler);
System\Windows\Input\KeyboardDevice.cs (1)
480
RoutedEvent = Keyboard.
GotKeyboardFocusEvent
,
PresentationFramework (7)
System\Windows\Controls\ItemsControl.cs (1)
57
EventManager.RegisterClassHandler(typeof(ItemsControl), Keyboard.
GotKeyboardFocusEvent
, new KeyboardFocusChangedEventHandler(OnGotFocus));
System\Windows\Controls\ListBox.cs (1)
74
EventManager.RegisterClassHandler(typeof(ListBox), Keyboard.
GotKeyboardFocusEvent
, new KeyboardFocusChangedEventHandler(OnGotKeyboardFocus));
System\Windows\Controls\PopupControlService.cs (1)
122
else if (e.StagingItem.Input.RoutedEvent == Keyboard.
GotKeyboardFocusEvent
)
System\windows\Documents\TextEditor.cs (1)
384
EventManager.RegisterClassHandler(controlType, Keyboard.
GotKeyboardFocusEvent
, new KeyboardFocusChangedEventHandler(OnGotKeyboardFocus));
System\Windows\FrameworkContentElement.cs (1)
92
EventManager.RegisterClassHandler(typeof(FrameworkContentElement), Keyboard.
GotKeyboardFocusEvent
, new KeyboardFocusChangedEventHandler(OnGotKeyboardFocus));
System\Windows\FrameworkElement.cs (1)
2372
EventManager.RegisterClassHandler(_typeofThis, Keyboard.
GotKeyboardFocusEvent
, new KeyboardFocusChangedEventHandler(OnGotKeyboardFocus));
System\Windows\Interop\ActiveXHost.cs (1)
74
EventManager.RegisterClassHandler(typeof(ActiveXHost), Keyboard.
GotKeyboardFocusEvent
, new KeyboardFocusChangedEventHandler(OnGotFocus));
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (2)
1604
_firstGallery.RemoveHandler(Keyboard.
GotKeyboardFocusEvent
, new KeyboardFocusChangedEventHandler(OnGalleryGotKeyboardFocus));
1617
_firstGallery.AddHandler(Keyboard.
GotKeyboardFocusEvent
, new KeyboardFocusChangedEventHandler(OnGalleryGotKeyboardFocus), true);