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