22 references to GotKeyboardFocusEvent
PresentationCore (14)
Core\CSharp\System\Windows\Generated\ContentElement.cs (3)
1792
public static readonly RoutedEvent GotKeyboardFocusEvent = Keyboard.
GotKeyboardFocusEvent
.AddOwner(_typeofThis);
1799
add { AddHandler(Keyboard.
GotKeyboardFocusEvent
, value, false); }
1800
remove { RemoveHandler(Keyboard.
GotKeyboardFocusEvent
, value); }
Core\CSharp\System\Windows\Generated\UIElement.cs (4)
853
EventManager.RegisterClassHandler(type, Keyboard.
GotKeyboardFocusEvent
, new KeyboardFocusChangedEventHandler(UIElement.OnGotKeyboardFocusThunk), false);
4070
public static readonly RoutedEvent GotKeyboardFocusEvent = Keyboard.
GotKeyboardFocusEvent
.AddOwner(_typeofThis);
4077
add { AddHandler(Keyboard.
GotKeyboardFocusEvent
, value, false); }
4078
remove { RemoveHandler(Keyboard.
GotKeyboardFocusEvent
, value); }
Core\CSharp\System\Windows\Generated\UIElement3D.cs (3)
1498
public static readonly RoutedEvent GotKeyboardFocusEvent = Keyboard.
GotKeyboardFocusEvent
.AddOwner(_typeofThis);
1505
add { AddHandler(Keyboard.
GotKeyboardFocusEvent
, value, false); }
1506
remove { RemoveHandler(Keyboard.
GotKeyboardFocusEvent
, value); }
Core\CSharp\System\Windows\Input\Command\CommandDevice.cs (1)
137
e.StagingItem.Input.RoutedEvent == Keyboard.
GotKeyboardFocusEvent
||
Core\CSharp\System\Windows\Input\Keyboard.cs (2)
208
UIElement.AddHandler(element,
GotKeyboardFocusEvent
, handler);
218
UIElement.RemoveHandler(element,
GotKeyboardFocusEvent
, handler);
Core\CSharp\System\Windows\Input\KeyboardDevice.cs (1)
553
gotFocus.RoutedEvent=Keyboard.
GotKeyboardFocusEvent
;
PresentationFramework (6)
src\Framework\System\Windows\Controls\ItemsControl.cs (1)
67
EventManager.RegisterClassHandler(typeof(ItemsControl), Keyboard.
GotKeyboardFocusEvent
, new KeyboardFocusChangedEventHandler(OnGotFocus));
src\Framework\System\Windows\Controls\ListBox.cs (1)
78
EventManager.RegisterClassHandler(typeof(ListBox), Keyboard.
GotKeyboardFocusEvent
, new KeyboardFocusChangedEventHandler(OnGotKeyboardFocus));
src\Framework\System\windows\Documents\TextEditor.cs (1)
413
EventManager.RegisterClassHandler(controlType, Keyboard.
GotKeyboardFocusEvent
, new KeyboardFocusChangedEventHandler(OnGotKeyboardFocus));
src\Framework\System\Windows\FrameworkContentElement.cs (1)
110
EventManager.RegisterClassHandler(typeof(FrameworkContentElement), Keyboard.
GotKeyboardFocusEvent
, new KeyboardFocusChangedEventHandler(OnGotKeyboardFocus));
src\Framework\System\Windows\FrameworkElement.cs (1)
2388
EventManager.RegisterClassHandler(_typeofThis, Keyboard.
GotKeyboardFocusEvent
, new KeyboardFocusChangedEventHandler(OnGotKeyboardFocus));
src\Framework\System\Windows\Interop\ActiveXHost.cs (1)
95
EventManager.RegisterClassHandler(typeof(ActiveXHost), Keyboard.
GotKeyboardFocusEvent
, new KeyboardFocusChangedEventHandler(OnGotFocus));
System.Activities.Presentation (2)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\UserInterface\FocusScopeManager.cs (2)
62
EventManager.RegisterClassHandler(typeof(Window), Keyboard.
GotKeyboardFocusEvent
, new KeyboardFocusChangedEventHandler(FocusScopeManager.HandleGotKeyboardFocusEvent), true);
63
EventManager.RegisterClassHandler(typeof(Popup), Keyboard.
GotKeyboardFocusEvent
, new KeyboardFocusChangedEventHandler(FocusScopeManager.HandleGotKeyboardFocusEvent), true);