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