23 references to GotKeyboardFocusEvent
PresentationCore (14)
System\Windows\Generated\ContentElement.cs (3)
1732
public static readonly RoutedEvent GotKeyboardFocusEvent = Keyboard.
GotKeyboardFocusEvent
.AddOwner(_typeofThis);
1739
add { AddHandler(Keyboard.
GotKeyboardFocusEvent
, value, false); }
1740
remove { RemoveHandler(Keyboard.
GotKeyboardFocusEvent
, value); }
System\Windows\Generated\UIElement.cs (4)
788
EventManager.RegisterClassHandler(type, Keyboard.
GotKeyboardFocusEvent
, new KeyboardFocusChangedEventHandler(UIElement.OnGotKeyboardFocusThunk), false);
3685
public static readonly RoutedEvent GotKeyboardFocusEvent = Keyboard.
GotKeyboardFocusEvent
.AddOwner(_typeofThis);
3692
add { AddHandler(Keyboard.
GotKeyboardFocusEvent
, value, false); }
3693
remove { RemoveHandler(Keyboard.
GotKeyboardFocusEvent
, value); }
System\Windows\Generated\UIElement3D.cs (3)
1453
public static readonly RoutedEvent GotKeyboardFocusEvent = Keyboard.
GotKeyboardFocusEvent
.AddOwner(_typeofThis);
1460
add { AddHandler(Keyboard.
GotKeyboardFocusEvent
, value, false); }
1461
remove { RemoveHandler(Keyboard.
GotKeyboardFocusEvent
, value); }
System\Windows\Input\Command\CommandDevice.cs (1)
115
e.StagingItem.Input.RoutedEvent == Keyboard.
GotKeyboardFocusEvent
||
System\Windows\Input\Keyboard.cs (2)
211
UIElement.AddHandler(element,
GotKeyboardFocusEvent
, handler);
221
UIElement.RemoveHandler(element,
GotKeyboardFocusEvent
, handler);
System\Windows\Input\KeyboardDevice.cs (1)
481
gotFocus.RoutedEvent=Keyboard.
GotKeyboardFocusEvent
;
PresentationFramework (7)
System\Windows\Controls\ItemsControl.cs (1)
66
EventManager.RegisterClassHandler(typeof(ItemsControl), Keyboard.
GotKeyboardFocusEvent
, new KeyboardFocusChangedEventHandler(OnGotFocus));
System\Windows\Controls\ListBox.cs (1)
80
EventManager.RegisterClassHandler(typeof(ListBox), Keyboard.
GotKeyboardFocusEvent
, new KeyboardFocusChangedEventHandler(OnGotKeyboardFocus));
System\Windows\Controls\PopupControlService.cs (1)
132
else if (e.StagingItem.Input.RoutedEvent == Keyboard.
GotKeyboardFocusEvent
)
System\windows\Documents\TextEditor.cs (1)
398
EventManager.RegisterClassHandler(controlType, Keyboard.
GotKeyboardFocusEvent
, new KeyboardFocusChangedEventHandler(OnGotKeyboardFocus));
System\Windows\FrameworkContentElement.cs (1)
113
EventManager.RegisterClassHandler(typeof(FrameworkContentElement), Keyboard.
GotKeyboardFocusEvent
, new KeyboardFocusChangedEventHandler(OnGotKeyboardFocus));
System\Windows\FrameworkElement.cs (1)
2391
EventManager.RegisterClassHandler(_typeofThis, Keyboard.
GotKeyboardFocusEvent
, new KeyboardFocusChangedEventHandler(OnGotKeyboardFocus));
System\Windows\Interop\ActiveXHost.cs (1)
88
EventManager.RegisterClassHandler(typeof(ActiveXHost), Keyboard.
GotKeyboardFocusEvent
, new KeyboardFocusChangedEventHandler(OnGotFocus));
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (2)
1606
_firstGallery.RemoveHandler(Keyboard.
GotKeyboardFocusEvent
, new KeyboardFocusChangedEventHandler(OnGalleryGotKeyboardFocus));
1619
_firstGallery.AddHandler(Keyboard.
GotKeyboardFocusEvent
, new KeyboardFocusChangedEventHandler(OnGalleryGotKeyboardFocus), true);