23 references to GotKeyboardFocusEvent
PresentationCore (14)
System\Windows\Generated\ContentElement.cs (3)
1716
public static readonly RoutedEvent GotKeyboardFocusEvent = Keyboard.
GotKeyboardFocusEvent
.AddOwner(_typeofThis);
1723
add { AddHandler(Keyboard.
GotKeyboardFocusEvent
, value, false); }
1724
remove { RemoveHandler(Keyboard.
GotKeyboardFocusEvent
, value); }
System\Windows\Generated\UIElement.cs (4)
772
EventManager.RegisterClassHandler(type, Keyboard.
GotKeyboardFocusEvent
, new KeyboardFocusChangedEventHandler(UIElement.OnGotKeyboardFocusThunk), false);
3669
public static readonly RoutedEvent GotKeyboardFocusEvent = Keyboard.
GotKeyboardFocusEvent
.AddOwner(_typeofThis);
3676
add { AddHandler(Keyboard.
GotKeyboardFocusEvent
, value, false); }
3677
remove { RemoveHandler(Keyboard.
GotKeyboardFocusEvent
, value); }
System\Windows\Generated\UIElement3D.cs (3)
1446
public static readonly RoutedEvent GotKeyboardFocusEvent = Keyboard.
GotKeyboardFocusEvent
.AddOwner(_typeofThis);
1453
add { AddHandler(Keyboard.
GotKeyboardFocusEvent
, value, false); }
1454
remove { RemoveHandler(Keyboard.
GotKeyboardFocusEvent
, value); }
System\Windows\Input\Command\CommandDevice.cs (1)
109
e.StagingItem.Input.RoutedEvent == Keyboard.
GotKeyboardFocusEvent
||
System\Windows\Input\Keyboard.cs (2)
203
UIElement.AddHandler(element,
GotKeyboardFocusEvent
, handler);
213
UIElement.RemoveHandler(element,
GotKeyboardFocusEvent
, handler);
System\Windows\Input\KeyboardDevice.cs (1)
479
RoutedEvent = Keyboard.
GotKeyboardFocusEvent
,
PresentationFramework (7)
System\Windows\Controls\ItemsControl.cs (1)
56
EventManager.RegisterClassHandler(typeof(ItemsControl), Keyboard.
GotKeyboardFocusEvent
, new KeyboardFocusChangedEventHandler(OnGotFocus));
System\Windows\Controls\ListBox.cs (1)
73
EventManager.RegisterClassHandler(typeof(ListBox), Keyboard.
GotKeyboardFocusEvent
, new KeyboardFocusChangedEventHandler(OnGotKeyboardFocus));
System\Windows\Controls\PopupControlService.cs (1)
121
else if (e.StagingItem.Input.RoutedEvent == Keyboard.
GotKeyboardFocusEvent
)
System\windows\Documents\TextEditor.cs (1)
383
EventManager.RegisterClassHandler(controlType, Keyboard.
GotKeyboardFocusEvent
, new KeyboardFocusChangedEventHandler(OnGotKeyboardFocus));
System\Windows\FrameworkContentElement.cs (1)
91
EventManager.RegisterClassHandler(typeof(FrameworkContentElement), Keyboard.
GotKeyboardFocusEvent
, new KeyboardFocusChangedEventHandler(OnGotKeyboardFocus));
System\Windows\FrameworkElement.cs (1)
2371
EventManager.RegisterClassHandler(_typeofThis, Keyboard.
GotKeyboardFocusEvent
, new KeyboardFocusChangedEventHandler(OnGotKeyboardFocus));
System\Windows\Interop\ActiveXHost.cs (1)
73
EventManager.RegisterClassHandler(typeof(ActiveXHost), Keyboard.
GotKeyboardFocusEvent
, new KeyboardFocusChangedEventHandler(OnGotFocus));
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (2)
1603
_firstGallery.RemoveHandler(Keyboard.
GotKeyboardFocusEvent
, new KeyboardFocusChangedEventHandler(OnGalleryGotKeyboardFocus));
1616
_firstGallery.AddHandler(Keyboard.
GotKeyboardFocusEvent
, new KeyboardFocusChangedEventHandler(OnGalleryGotKeyboardFocus), true);