32 references to KeyEventHandler
PresentationCore (32)
Core\CSharp\System\Windows\Generated\ContentElement.cs (4)
1702
public event
KeyEventHandler
PreviewKeyDown
1721
public event
KeyEventHandler
KeyDown
1740
public event
KeyEventHandler
PreviewKeyUp
1759
public event
KeyEventHandler
KeyUp
Core\CSharp\System\Windows\Generated\UIElement.cs (4)
3980
public event
KeyEventHandler
PreviewKeyDown
3999
public event
KeyEventHandler
KeyDown
4018
public event
KeyEventHandler
PreviewKeyUp
4037
public event
KeyEventHandler
KeyUp
Core\CSharp\System\Windows\Generated\UIElement3D.cs (4)
1408
public event
KeyEventHandler
PreviewKeyDown
1427
public event
KeyEventHandler
KeyDown
1446
public event
KeyEventHandler
PreviewKeyUp
1465
public event
KeyEventHandler
KeyUp
Core\CSharp\System\Windows\IInputElement.cs (4)
289
event
KeyEventHandler
PreviewKeyDown;
294
event
KeyEventHandler
KeyDown;
299
event
KeyEventHandler
PreviewKeyUp;
304
event
KeyEventHandler
KeyUp;
Core\CSharp\System\Windows\Input\InputManager.cs (2)
315
internal event
KeyEventHandler
TranslateAccelerator
1176
private event
KeyEventHandler
_translateAccelerator;
Core\CSharp\System\Windows\Input\Keyboard.cs (12)
24
public static readonly RoutedEvent PreviewKeyDownEvent = EventManager.RegisterRoutedEvent("PreviewKeyDown", RoutingStrategy.Tunnel, typeof(
KeyEventHandler
), typeof(Keyboard));
31
public static void AddPreviewKeyDownHandler(DependencyObject element,
KeyEventHandler
handler)
41
public static void RemovePreviewKeyDownHandler(DependencyObject element,
KeyEventHandler
handler)
49
public static readonly RoutedEvent KeyDownEvent = EventManager.RegisterRoutedEvent("KeyDown", RoutingStrategy.Bubble, typeof(
KeyEventHandler
), typeof(Keyboard));
56
public static void AddKeyDownHandler(DependencyObject element,
KeyEventHandler
handler)
66
public static void RemoveKeyDownHandler(DependencyObject element,
KeyEventHandler
handler)
74
public static readonly RoutedEvent PreviewKeyUpEvent = EventManager.RegisterRoutedEvent("PreviewKeyUp", RoutingStrategy.Tunnel, typeof(
KeyEventHandler
), typeof(Keyboard));
81
public static void AddPreviewKeyUpHandler(DependencyObject element,
KeyEventHandler
handler)
91
public static void RemovePreviewKeyUpHandler(DependencyObject element,
KeyEventHandler
handler)
99
public static readonly RoutedEvent KeyUpEvent = EventManager.RegisterRoutedEvent("KeyUp", RoutingStrategy.Bubble, typeof(
KeyEventHandler
), typeof(Keyboard));
106
public static void AddKeyUpHandler(DependencyObject element,
KeyEventHandler
handler)
116
public static void RemoveKeyUpHandler(DependencyObject element,
KeyEventHandler
handler)
Core\CSharp\System\Windows\Input\KeyEventArgs.cs (2)
179
KeyEventHandler
handler = (
KeyEventHandler
) genericHandler;