31 references to KeyDownEvent
PresentationCore (20)
MS\Internal\SynchronizedInputHelper.cs (3)
51re == Keyboard.KeyDownEvent || 120return args.RoutedEvent == Keyboard.KeyDownEvent; 280e = new RoutedEvent[] {Keyboard.KeyDownEvent, TextCompositionManager.TextInputEvent};
System\Windows\Generated\ContentElement.cs (3)
1656public static readonly RoutedEvent KeyDownEvent = Keyboard.KeyDownEvent.AddOwner(_typeofThis); 1663add { AddHandler(Keyboard.KeyDownEvent, value, false); } 1664remove { RemoveHandler(Keyboard.KeyDownEvent, value); }
System\Windows\Generated\UIElement.cs (4)
784EventManager.RegisterClassHandler(type, Keyboard.KeyDownEvent, new KeyEventHandler(UIElement.OnKeyDownThunk), false); 3609public static readonly RoutedEvent KeyDownEvent = Keyboard.KeyDownEvent.AddOwner(_typeofThis); 3616add { AddHandler(Keyboard.KeyDownEvent, value, false); } 3617remove { RemoveHandler(Keyboard.KeyDownEvent, value); }
System\Windows\Generated\UIElement3D.cs (3)
1377public static readonly RoutedEvent KeyDownEvent = Keyboard.KeyDownEvent.AddOwner(_typeofThis); 1384add { AddHandler(Keyboard.KeyDownEvent, value, false); } 1385remove { RemoveHandler(Keyboard.KeyDownEvent, value); }
System\Windows\Input\AccessKeyManager.cs (1)
211if (e.StagingItem.Input.RoutedEvent == Keyboard.KeyDownEvent)
System\Windows\Input\Keyboard.cs (2)
61UIElement.AddHandler(element, KeyDownEvent, handler); 71UIElement.RemoveHandler(element, KeyDownEvent, handler);
System\Windows\Input\KeyboardDevice.cs (1)
844keyDown.RoutedEvent=Keyboard.KeyDownEvent;
System\Windows\Input\TextCompositionManager.cs (1)
424if (e.StagingItem.Input.RoutedEvent == Keyboard.KeyDownEvent)
System\Windows\Input\TextServicesManager.cs (1)
205else if(e.StagingItem.Input.RoutedEvent == Keyboard.KeyDownEvent ||
System\Windows\InterOp\HwndSource.cs (1)
2373keyEvent = Keyboard.KeyDownEvent;
PresentationFramework (9)
System\Windows\Controls\DataGridCheckBoxColumn.cs (1)
218keyArgs.RoutedEvent == Keyboard.KeyDownEvent &&
System\Windows\Controls\DataGridComboBoxColumn.cs (1)
602if ((keyArgs != null) && keyArgs.RoutedEvent == Keyboard.KeyDownEvent && ((keyArgs.KeyStates & KeyStates.Down) == KeyStates.Down))
System\Windows\Controls\FlowDocumentReader.cs (1)
64EventManager.RegisterClassHandler(typeof(FlowDocumentReader), Keyboard.KeyDownEvent, new KeyEventHandler(KeyDownHandler), true);
System\Windows\Controls\FlowDocumentScrollViewer.cs (1)
70EventManager.RegisterClassHandler(typeof(FlowDocumentScrollViewer), Keyboard.KeyDownEvent, new KeyEventHandler(KeyDownHandler), true);
System\Windows\Controls\PopupControlService.cs (1)
116else if (e.StagingItem.Input.RoutedEvent == Keyboard.KeyDownEvent)
System\Windows\Controls\SinglePageViewer.cs (1)
66EventManager.RegisterClassHandler(typeof(FlowDocumentPageViewer), Keyboard.KeyDownEvent, new KeyEventHandler(KeyDownHandler), true);
System\windows\Documents\TextEditorTyping.cs (1)
65EventManager.RegisterClassHandler(controlType, Keyboard.KeyDownEvent, new KeyEventHandler(OnKeyDown));
System\Windows\Input\KeyboardNavigation.cs (2)
1188if(inputEventArgs.RoutedEvent != Keyboard.KeyDownEvent) 3177else if (inputEventArgs.RoutedEvent == Keyboard.KeyDownEvent)
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\KeyTipService.cs (1)
721if (e.StagingItem.Input.RoutedEvent == Keyboard.KeyDownEvent)
Microsoft\Windows\Controls\Ribbon\RibbonToolTipService.cs (1)
36if (e.StagingItem.Input.RoutedEvent == Keyboard.KeyDownEvent)