29 references to KeyDownEvent
PresentationCore (20)
Core\CSharp\MS\Internal\SynchronizedInputHelper.cs (3)
47re == Keyboard.KeyDownEvent || 116return args.RoutedEvent == Keyboard.KeyDownEvent; 276e = new RoutedEvent[] {Keyboard.KeyDownEvent, TextCompositionManager.TextInputEvent};
Core\CSharp\System\Windows\Generated\ContentElement.cs (3)
1716public static readonly RoutedEvent KeyDownEvent = Keyboard.KeyDownEvent.AddOwner(_typeofThis); 1723add { AddHandler(Keyboard.KeyDownEvent, value, false); } 1724remove { RemoveHandler(Keyboard.KeyDownEvent, value); }
Core\CSharp\System\Windows\Generated\UIElement.cs (4)
849EventManager.RegisterClassHandler(type, Keyboard.KeyDownEvent, new KeyEventHandler(UIElement.OnKeyDownThunk), false); 3994public static readonly RoutedEvent KeyDownEvent = Keyboard.KeyDownEvent.AddOwner(_typeofThis); 4001add { AddHandler(Keyboard.KeyDownEvent, value, false); } 4002remove { RemoveHandler(Keyboard.KeyDownEvent, value); }
Core\CSharp\System\Windows\Generated\UIElement3D.cs (3)
1422public static readonly RoutedEvent KeyDownEvent = Keyboard.KeyDownEvent.AddOwner(_typeofThis); 1429add { AddHandler(Keyboard.KeyDownEvent, value, false); } 1430remove { RemoveHandler(Keyboard.KeyDownEvent, value); }
Core\CSharp\System\Windows\Input\AccessKeyManager.cs (1)
235if (e.StagingItem.Input.RoutedEvent == Keyboard.KeyDownEvent)
Core\CSharp\System\Windows\Input\Keyboard.cs (2)
58UIElement.AddHandler(element, KeyDownEvent, handler); 68UIElement.RemoveHandler(element, KeyDownEvent, handler);
Core\CSharp\System\Windows\Input\KeyboardDevice.cs (1)
940keyDown.RoutedEvent=Keyboard.KeyDownEvent;
Core\CSharp\System\Windows\Input\TextCompositionManager.cs (1)
549if (e.StagingItem.Input.RoutedEvent == Keyboard.KeyDownEvent)
Core\CSharp\System\Windows\Input\TextServicesManager.cs (1)
222else if(e.StagingItem.Input.RoutedEvent == Keyboard.KeyDownEvent ||
Core\CSharp\System\Windows\Interop\HwndSource.cs (1)
2715keyEvent = Keyboard.KeyDownEvent;
PresentationFramework (9)
src\Framework\System\Windows\Controls\DataGridCheckBoxColumn.cs (1)
210keyArgs.RoutedEvent == Keyboard.KeyDownEvent &&
src\Framework\System\Windows\Controls\DataGridComboBoxColumn.cs (1)
604if ((keyArgs != null) && keyArgs.RoutedEvent == Keyboard.KeyDownEvent && ((keyArgs.KeyStates & KeyStates.Down) == KeyStates.Down))
src\Framework\System\Windows\Controls\FlowDocumentReader.cs (1)
65EventManager.RegisterClassHandler(typeof(FlowDocumentReader), Keyboard.KeyDownEvent, new KeyEventHandler(KeyDownHandler), true);
src\Framework\System\Windows\Controls\FlowDocumentScrollViewer.cs (1)
71EventManager.RegisterClassHandler(typeof(FlowDocumentScrollViewer), Keyboard.KeyDownEvent, new KeyEventHandler(KeyDownHandler), true);
src\Framework\System\Windows\Controls\PopupControlService.cs (1)
137else if (e.StagingItem.Input.RoutedEvent == Keyboard.KeyDownEvent)
src\Framework\System\Windows\Controls\SinglePageViewer.cs (1)
68EventManager.RegisterClassHandler(typeof(FlowDocumentPageViewer), Keyboard.KeyDownEvent, new KeyEventHandler(KeyDownHandler), true);
src\Framework\System\windows\Documents\TextEditorTyping.cs (1)
68EventManager.RegisterClassHandler(controlType, Keyboard.KeyDownEvent, new KeyEventHandler(OnKeyDown));
src\Framework\System\Windows\Input\KeyboardNavigation.cs (2)
1272if(inputEventArgs.RoutedEvent != Keyboard.KeyDownEvent) 3270else if (inputEventArgs.RoutedEvent == Keyboard.KeyDownEvent)