133 writes to RoutedEvent
PresentationCore (101)
System\Windows\DataObjectEventArgs.cs (1)
56
RoutedEvent
= routedEvent;
System\Windows\DragDrop.cs (9)
693
args.
RoutedEvent
=DragDrop.PreviewQueryContinueDragEvent;
714
args.
RoutedEvent
= DragDrop.QueryContinueDragEvent;
750
args.
RoutedEvent
=DragDrop.PreviewGiveFeedbackEvent;
771
args.
RoutedEvent
= DragDrop.GiveFeedbackEvent;
1139
dragEventArgs.
RoutedEvent
= DragDrop.PreviewDragEnterEvent;
1143
dragEventArgs.
RoutedEvent
= DragDrop.PreviewDragOverEvent;
1147
dragEventArgs.
RoutedEvent
= DragDrop.PreviewDragLeaveEvent;
1151
dragEventArgs.
RoutedEvent
= DragDrop.PreviewDropEvent;
1176
dragEventArgs.
RoutedEvent
= dragEvent;
System\Windows\Input\AccessKeyManager.cs (1)
756
RoutedEvent
= AccessKeyManager.AccessKeyPressedEvent;
System\Windows\Input\Command\CommandBinding.cs (1)
157
RoutedEvent
= CommandManager.CanExecuteEvent,
System\Windows\Input\Command\CommandDevice.cs (1)
97
args.
RoutedEvent
= CommandDeviceEvent;
System\Windows\Input\Command\CommandManager.cs (2)
510
canExecuteArgs.
RoutedEvent
= CommandManager.CanExecuteEvent;
517
executedArgs.
RoutedEvent
= CommandManager.ExecutedEvent;
System\Windows\Input\Command\RoutedCommand.cs (4)
323
args.
RoutedEvent
= CommandManager.PreviewCanExecuteEvent;
327
args.
RoutedEvent
= CommandManager.CanExecuteEvent;
382
args.
RoutedEvent
= CommandManager.PreviewExecutedEvent;
407
args.
RoutedEvent
= CommandManager.ExecutedEvent;
System\Windows\Input\InputManager.cs (1)
859
inputReport.
RoutedEvent
=InputManager.InputReportEvent;
System\Windows\Input\InputProviderSite.cs (1)
87
input.
RoutedEvent
=InputManager.PreviewInputReportEvent;
System\Windows\Input\KeyboardDevice.cs (10)
279
previewLostFocus.
RoutedEvent
=Keyboard.PreviewLostKeyboardFocusEvent;
296
previewGotFocus.
RoutedEvent
=Keyboard.PreviewGotKeyboardFocusEvent;
319
acquireFocus.
RoutedEvent
= Keyboard.PreviewKeyboardInputProviderAcquireFocusEvent;
329
acquireFocus.
RoutedEvent
= Keyboard.KeyboardInputProviderAcquireFocusEvent;
464
lostFocus.
RoutedEvent
=Keyboard.LostKeyboardFocusEvent;
472
gotFocus.
RoutedEvent
=Keyboard.GotKeyboardFocusEvent;
835
keyDown.
RoutedEvent
=Keyboard.KeyDownEvent;
889
keyUp.
RoutedEvent
=Keyboard.KeyUpEvent;
921
previewKeyDown.
RoutedEvent
=Keyboard.PreviewKeyDownEvent;
940
previewKeyUp.
RoutedEvent
=Keyboard.PreviewKeyUpEvent;
System\Windows\Input\ManipulationBoundaryFeedbackEventArgs.cs (1)
25
RoutedEvent
= Manipulation.ManipulationBoundaryFeedbackEvent;
System\Windows\Input\ManipulationCompletedEventArgs.cs (1)
32
RoutedEvent
= Manipulation.ManipulationCompletedEvent;
System\Windows\Input\ManipulationDeltaEventArgs.cs (1)
35
RoutedEvent
= Manipulation.ManipulationDeltaEvent;
System\Windows\Input\ManipulationInertiaStartingEventArgs.cs (1)
32
RoutedEvent
= Manipulation.ManipulationInertiaStartingEvent;
System\Windows\Input\ManipulationStartedEventArgs.cs (1)
25
RoutedEvent
= Manipulation.ManipulationStartedEvent;
System\Windows\Input\ManipulationStartingEventArgs.cs (1)
21
RoutedEvent
= Manipulation.ManipulationStartingEvent;
System\Windows\Input\MouseDevice.cs (26)
911
inputReportEventArgs.
RoutedEvent
=InputManager.PreviewInputReportEvent;
939
queryCursor.
RoutedEvent
=Mouse.QueryCursorEvent;
1127
lostCapture.
RoutedEvent
=Mouse.LostMouseCaptureEvent;
1135
gotCapture.
RoutedEvent
=Mouse.GotMouseCaptureEvent;
1182
actionsArgs.
RoutedEvent
=InputManager.PreviewInputReportEvent;
1266
actionsArgs.
RoutedEvent
=InputManager.PreviewInputReportEvent;
1279
moveArgs.
RoutedEvent
=InputManager.PreviewInputReportEvent;
1320
clickThrough.
RoutedEvent
=Mouse.PreviewMouseDownOutsideCapturedElementEvent;
1336
clickThrough.
RoutedEvent
=Mouse.PreviewMouseUpOutsideCapturedElementEvent;
1365
activateArgs.
RoutedEvent
=InputManager.PreviewInputReportEvent;
1814
wheel.
RoutedEvent
=Mouse.MouseWheelEvent;
1834
down.
RoutedEvent
=Mouse.MouseDownEvent;
1846
up.
RoutedEvent
=Mouse.MouseUpEvent;
1858
move.
RoutedEvent
=Mouse.MouseMoveEvent;
1905
previewWheel.
RoutedEvent
=Mouse.PreviewMouseWheelEvent;
1925
previewDown.
RoutedEvent
=Mouse.PreviewMouseDownEvent;
1934
previewUp.
RoutedEvent
=Mouse.PreviewMouseUpEvent;
1943
previewDown.
RoutedEvent
=Mouse.PreviewMouseDownEvent;
1952
previewUp.
RoutedEvent
=Mouse.PreviewMouseUpEvent;
1961
previewDown.
RoutedEvent
=Mouse.PreviewMouseDownEvent;
1970
previewUp.
RoutedEvent
=Mouse.PreviewMouseUpEvent;
1979
previewDown.
RoutedEvent
=Mouse.PreviewMouseDownEvent;
1988
previewUp.
RoutedEvent
=Mouse.PreviewMouseUpEvent;
1997
previewDown.
RoutedEvent
=Mouse.PreviewMouseDownEvent;
2006
previewUp.
RoutedEvent
=Mouse.PreviewMouseUpEvent;
2016
previewMove.
RoutedEvent
=Mouse.PreviewMouseMoveEvent;
System\Windows\Input\Stylus\Pointer\PointerLogic.cs (4)
267
args.
RoutedEvent
= InputManager.PreviewInputReportEvent;
1014
args.
RoutedEvent
= routedEvent;
1060
eventArgsMain.
RoutedEvent
= eventMain;
1341
input.
RoutedEvent
= InputManager.PreviewInputReportEvent;
System\Windows\Input\Stylus\Pointer\PointerStylusDevice.cs (4)
657
inputReportEventArgs.
RoutedEvent
= InputManager.PreviewInputReportEvent;
870
RoutedEvent
= InputManager.PreviewInputReportEvent,
1048
lostCapture.
RoutedEvent
= Stylus.LostStylusCaptureEvent;
1055
gotCapture.
RoutedEvent
= Stylus.GotStylusCaptureEvent;
System\Windows\Input\Stylus\Wisp\WispLogic.cs (13)
359
input.
RoutedEvent
= InputManager.PreviewInputReportEvent;
443
mouseArgs.
RoutedEvent
= InputManager.PreviewInputReportEvent;
569
args.
RoutedEvent
= InputManager.PreviewInputReportEvent;
615
args.
RoutedEvent
= InputManager.PreviewInputReportEvent;
1293
actionsArgs.
RoutedEvent
= InputManager.PreviewInputReportEvent;
1390
args.
RoutedEvent
= routedEvent;
1435
eventArgsMain.
RoutedEvent
= eventMain;
1761
inputReportArgs.
RoutedEvent
= InputManager.PreviewInputReportEvent;
2574
input.
RoutedEvent
= InputManager.PreviewInputReportEvent;
2800
input.
RoutedEvent
= InputManager.PreviewInputReportEvent;
2851
inputReportArgs.
RoutedEvent
= InputManager.PreviewInputReportEvent;
2897
args.
RoutedEvent
= Stylus.PreviewStylusButtonDownEvent;
2901
args.
RoutedEvent
= Stylus.PreviewStylusButtonUpEvent;
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (4)
369
inputReportEventArgs.
RoutedEvent
= InputManager.PreviewInputReportEvent;
629
lostCapture.
RoutedEvent
= Stylus.LostStylusCaptureEvent;
636
gotCapture.
RoutedEvent
= Stylus.GotStylusCaptureEvent;
1693
inputReportArgs.
RoutedEvent
= InputManager.PreviewInputReportEvent;
System\Windows\Input\TextCompositionManager.cs (6)
314
textargs.
RoutedEvent
=TextCompositionManager.PreviewTextInputStartEvent;
339
textargs.
RoutedEvent
=TextCompositionManager.PreviewTextInputUpdateEvent;
365
textargs.
RoutedEvent
=TextCompositionManager.PreviewTextInputEvent;
524
text.
RoutedEvent
=TextCompositionManager.TextInputStartEvent;
537
text.
RoutedEvent
=TextCompositionManager.TextInputUpdateEvent;
550
text.
RoutedEvent
=TextCompositionManager.TextInputEvent;
System\Windows\Input\TouchDevice.cs (1)
941
touchEventArgs.
RoutedEvent
= routedEvent;
System\Windows\InterOp\HwndPointerInputProvider.cs (1)
276
RoutedEvent
= InputManager.PreviewInputReportEvent,
System\Windows\InterOp\HwndSource.cs (2)
2382
tunnelArgs.
RoutedEvent
= keyPreviewEvent;
2392
bubbleArgs.
RoutedEvent
=keyEvent;
System\Windows\MouseOverProperty.cs (1)
48
mouseEventArgs.
RoutedEvent
= oldValue ? Mouse.MouseLeaveEvent : Mouse.MouseEnterEvent;
System\Windows\PresentationSource.cs (1)
703
args.
RoutedEvent
=SourceChangedEvent;
System\Windows\StylusOverProperty.cs (1)
40
stylusEventArgs.
RoutedEvent
= oldValue ? Stylus.StylusLeaveEvent : Stylus.StylusEnterEvent;
PresentationFramework (27)
MS\Internal\AppModel\RequestStatusBarUpdateEventArgs.cs (2)
25
base.
RoutedEvent
= System.Windows.Documents.Hyperlink.RequestSetStatusBarEvent;
40
base.
RoutedEvent
= System.Windows.Documents.Hyperlink.RequestSetStatusBarEvent;
System\Windows\Controls\ContextMenuService.cs (1)
454
RoutedEvent
=(opening ? ContextMenuService.ContextMenuOpeningEvent : ContextMenuService.ContextMenuClosingEvent);
System\Windows\Controls\Control.cs (2)
566
doubleClick.
RoutedEvent
= PreviewMouseDoubleClickEvent;
573
doubleClick.
RoutedEvent
= MouseDoubleClickEvent;
System\Windows\Controls\Expander.cs (1)
272
args.
RoutedEvent
= Expander.ExpandedEvent;
System\Windows\Controls\Primitives\DragCompletedEventArgs.cs (1)
25
RoutedEvent
=Thumb.DragCompletedEvent;
System\Windows\Controls\Primitives\DragDeltaEventArgs.cs (1)
24
RoutedEvent
=Thumb.DragDeltaEvent;
System\Windows\Controls\Primitives\DragStartedEventArgs.cs (1)
24
RoutedEvent
=Thumb.DragStartedEvent;
System\Windows\Controls\Primitives\RangeBase.cs (1)
247
args.
RoutedEvent
=RangeBase.ValueChangedEvent;
System\Windows\Controls\Primitives\ScrollEventArgs.cs (1)
23
RoutedEvent
=ScrollBar.ScrollEvent;
System\Windows\Controls\ScrollViewer.cs (1)
2406
args.
RoutedEvent
= ScrollChangedEvent;
System\Windows\Controls\SelectionChangedEventArgs.cs (2)
39
RoutedEvent
= id;
50
RoutedEvent
= Selector.SelectionChangedEvent;
System\Windows\Controls\TextChangedEventArgs.cs (1)
78
RoutedEvent
=id;
System\Windows\Controls\ToolTipService.cs (3)
666
RoutedEvent
= ToolTipService.ToolTipOpeningEvent;
670
RoutedEvent
= ToolTipService.ToolTipClosingEvent;
692
RoutedEvent
= ToolTipService.FindToolTipEvent;
System\Windows\Controls\ValidationErrorEventArgs.cs (1)
39
RoutedEvent
= Validation.ErrorEvent;
System\Windows\Data\BindingExpression.cs (2)
2620
args.
RoutedEvent
= Binding.TargetUpdatedEvent;
2635
args.
RoutedEvent
= Binding.SourceUpdatedEvent;
System\Windows\FrameworkContentElement.cs (1)
1063
args.
RoutedEvent
=FrameworkElement.RequestBringIntoViewEvent;
System\Windows\FrameworkElement.cs (2)
3301
args.
RoutedEvent
=RequestBringIntoViewEvent;
4795
localArgs.
RoutedEvent
= SizeChangedEvent;
System\Windows\Navigation\RequestNavigateEventArgs.cs (2)
25
base.
RoutedEvent
=System.Windows.Documents.Hyperlink.RequestNavigateEvent;
39
base.
RoutedEvent
=System.Windows.Documents.Hyperlink.RequestNavigateEvent;
System\Windows\RoutedPropertyChangedEventArgs.cs (1)
51
RoutedEvent
= routedEvent;
System.Windows.Controls.Ribbon (5)
Microsoft\Windows\Controls\ActivatingKeyTipEventArgs.cs (1)
33
RoutedEvent
= KeyTipService.ActivatingKeyTipEvent;
Microsoft\Windows\Controls\KeyTipService.cs (2)
946
eventArgs.
RoutedEvent
= PreviewKeyTipAccessedEvent;
952
eventArgs.
RoutedEvent
= KeyTipAccessedEvent;
Microsoft\Windows\Controls\Ribbon\RibbonDismissPopupEventArgs.cs (1)
30
RoutedEvent
= RibbonControlService.DismissPopupEvent;
Microsoft\Windows\Controls\Ribbon\RibbonQuickAccessToolBarCloneEventArgs.cs (1)
25
this.
RoutedEvent
= RibbonQuickAccessToolBar.CloneEvent;
184 references to RoutedEvent
PresentationCore (148)
MS\Internal\SynchronizedInputHelper.cs (4)
44
RoutedEvent re = args.
RoutedEvent
;
90
if (Array.IndexOf(InputManager.SynchronizedInputEvents, args.
RoutedEvent
) >= 0)
104
Array.IndexOf(InputManager.SynchronizedInputEvents, args.
RoutedEvent
) >= 0)
116
return args.
RoutedEvent
== Keyboard.KeyDownEvent;
System\Windows\EventRoute.cs (3)
132
if (args.
RoutedEvent
!= _routedEvent)
138
if (args.
RoutedEvent
.RoutingStrategy == RoutingStrategy.Bubble ||
139
args.
RoutedEvent
.RoutingStrategy == RoutingStrategy.Direct)
System\Windows\Generated\ContentElement.cs (3)
385
/// <see cref="RoutedEventArgs.
RoutedEvent
"/>
648
GlobalEventManager.GetDTypedClassListeners(this.DependencyObjectType, e.
RoutedEvent
);
666
instanceListeners = store[e.
RoutedEvent
];
System\Windows\Generated\UIElement.cs (3)
385
/// <see cref="RoutedEventArgs.
RoutedEvent
"/>
648
GlobalEventManager.GetDTypedClassListeners(this.DependencyObjectType, e.
RoutedEvent
);
666
instanceListeners = store[e.
RoutedEvent
];
System\Windows\Generated\UIElement3D.cs (3)
180
/// <see cref="RoutedEventArgs.
RoutedEvent
"/>
443
GlobalEventManager.GetDTypedClassListeners(this.DependencyObjectType, e.
RoutedEvent
);
461
instanceListeners = store[e.
RoutedEvent
];
System\Windows\Input\AccessKeyManager.cs (2)
199
if (e.StagingItem.Input.
RoutedEvent
== Keyboard.KeyDownEvent)
203
else if (e.StagingItem.Input.
RoutedEvent
== TextCompositionManager.TextInputEvent)
System\Windows\Input\Command\CommandBinding.cs (2)
123
if (e.
RoutedEvent
== CommandManager.CanExecuteEvent)
177
if (e.
RoutedEvent
== CommandManager.ExecutedEvent)
System\Windows\Input\Command\CommandDevice.cs (5)
78
if (e.StagingItem.Input.
RoutedEvent
== InputManager.InputReportEvent)
106
else if (e.StagingItem.Input.
RoutedEvent
== Keyboard.KeyUpEvent ||
107
e.StagingItem.Input.
RoutedEvent
== Mouse.MouseUpEvent ||
108
e.StagingItem.Input.
RoutedEvent
== Keyboard.GotKeyboardFocusEvent ||
109
e.StagingItem.Input.
RoutedEvent
== Keyboard.LostKeyboardFocusEvent)
System\Windows\Input\Command\CommandManager.cs (2)
444
if (!e.Handled && (e.
RoutedEvent
== CanExecuteEvent))
479
if (!e.Handled && (e.
RoutedEvent
== ExecutedEvent))
System\Windows\Input\InputManager.cs (3)
755
Array.IndexOf(SynchronizedInputEvents, input.
RoutedEvent
) < 0 &&
756
Array.IndexOf(PairedSynchronizedInputEvents, input.
RoutedEvent
) < 0)
852
if(item.Input.
RoutedEvent
== InputManager.PreviewInputReportEvent)
System\Windows\Input\KeyboardDevice.cs (5)
749
if(e.StagingItem.Input.
RoutedEvent
== Keyboard.PreviewKeyDownEvent)
773
else if(e.StagingItem.Input.
RoutedEvent
== Keyboard.PreviewKeyUpEvent)
788
if(e.StagingItem.Input.
RoutedEvent
== Keyboard.PreviewKeyDownEvent)
843
if(e.StagingItem.Input.
RoutedEvent
== Keyboard.PreviewKeyUpEvent)
967
if(input.Report.Type == InputType.Keyboard && input.
RoutedEvent
== Event)
System\Windows\Input\ManipulationBoundaryFeedbackEventArgs.cs (1)
40
if (
RoutedEvent
== Manipulation.ManipulationBoundaryFeedbackEvent)
System\Windows\Input\ManipulationCompletedEventArgs.cs (1)
50
if (
RoutedEvent
== Manipulation.ManipulationCompletedEvent)
System\Windows\Input\ManipulationDeltaEventArgs.cs (1)
54
if (
RoutedEvent
== Manipulation.ManipulationDeltaEvent)
System\Windows\Input\ManipulationDevice.cs (1)
335
RoutedEvent routedEvent = inputEventArgs.
RoutedEvent
;
System\Windows\Input\ManipulationInertiaStartingEventArgs.cs (1)
49
if (
RoutedEvent
== Manipulation.ManipulationInertiaStartingEvent)
System\Windows\Input\ManipulationStartedEventArgs.cs (1)
40
if (
RoutedEvent
== Manipulation.ManipulationStartedEvent)
System\Windows\Input\ManipulationStartingEventArgs.cs (1)
114
if (
RoutedEvent
== Manipulation.ManipulationStartingEvent)
System\Windows\Input\MouseDevice.cs (11)
1148
if (e.StagingItem.Input.
RoutedEvent
== InputManager.PreviewInputReportEvent)
1310
if (e.StagingItem.Input.
RoutedEvent
== Mouse.PreviewMouseDownEvent)
1326
else if (e.StagingItem.Input.
RoutedEvent
== Mouse.PreviewMouseUpEvent)
1371
if ( e.StagingItem.Input.
RoutedEvent
== InputManager.PreviewInputReportEvent )
1774
if (e.StagingItem.Input.
RoutedEvent
== Mouse.PreviewMouseDownEvent)
1808
if (e.StagingItem.Input.
RoutedEvent
== Mouse.PreviewMouseWheelEvent)
1827
if (e.StagingItem.Input.
RoutedEvent
== Mouse.PreviewMouseDownEvent)
1840
if (e.StagingItem.Input.
RoutedEvent
== Mouse.PreviewMouseUpEvent)
1852
if (e.StagingItem.Input.
RoutedEvent
== Mouse.PreviewMouseMoveEvent)
1865
if (e.StagingItem.Input.
RoutedEvent
== Mouse.QueryCursorEvent)
1873
if (e.StagingItem.Input.
RoutedEvent
== InputManager.InputReportEvent)
System\Windows\Input\Stylus\Pointer\PointerLogic.cs (14)
166
if (e.StagingItem.Input.
RoutedEvent
== InputManager.PreviewInputReportEvent)
285
if (e.StagingItem.Input.
RoutedEvent
== InputManager.PreviewInputReportEvent)
329
if (e.StagingItem.Input.
RoutedEvent
== Mouse.LostMouseCaptureEvent ||
330
e.StagingItem.Input.
RoutedEvent
== Mouse.GotMouseCaptureEvent)
345
if (e.StagingItem.Input.
RoutedEvent
== InputManager.InputReportEvent)
967
RoutedEvent routedEvent = stylusEventArgs.
RoutedEvent
;
1026
RoutedEvent eventMain = StylusLogic.GetMainEventFromPreviewEvent(e.StagingItem.Input.
RoutedEvent
);
1072
stylusEventArgs.
RoutedEvent
== Stylus.PreviewStylusUpEvent &&
1103
if (stylusEventArgs.
RoutedEvent
== Stylus.StylusUpEvent &&
1126
if (stylusEventArgs.
RoutedEvent
== Stylus.StylusMoveEvent)
1130
else if (stylusEventArgs.
RoutedEvent
== Stylus.StylusDownEvent)
1134
else if (stylusEventArgs.
RoutedEvent
== Stylus.StylusUpEvent)
1263
if (args.StagingItem.Input.
RoutedEvent
== Stylus.PreviewStylusDownEvent)
1300
else if (args.StagingItem.Input.
RoutedEvent
== Stylus.PreviewStylusSystemGestureEvent)
System\Windows\Input\Stylus\Pointer\PointerStylusPlugInManager.cs (9)
493
if ((e.StagingItem.Input.
RoutedEvent
!= Mouse.PreviewMouseDownEvent) &&
494
(e.StagingItem.Input.
RoutedEvent
!= Mouse.PreviewMouseUpEvent) &&
495
(e.StagingItem.Input.
RoutedEvent
!= Mouse.PreviewMouseMoveEvent) &&
496
(e.StagingItem.Input.
RoutedEvent
!= InputManager.InputReportEvent))
509
if (e.StagingItem.Input.
RoutedEvent
== InputManager.InputReportEvent)
547
e.StagingItem.Input.
RoutedEvent
!= Mouse.PreviewMouseUpEvent)
550
if (e.StagingItem.Input.
RoutedEvent
== Mouse.PreviewMouseMoveEvent)
556
if (e.StagingItem.Input.
RoutedEvent
== Mouse.PreviewMouseDownEvent)
563
if (e.StagingItem.Input.
RoutedEvent
== Mouse.PreviewMouseUpEvent)
System\Windows\Input\Stylus\Wisp\WispLogic.cs (30)
459
if (e.StagingItem.Input.
RoutedEvent
== InputManager.PreviewInputReportEvent)
978
if (e.StagingItem.Input.
RoutedEvent
== InputManager.PreviewInputReportEvent)
1047
if (e.StagingItem.Input.
RoutedEvent
== Stylus.PreviewStylusDownEvent)
1140
if (e.StagingItem.Input.
RoutedEvent
== Mouse.LostMouseCaptureEvent ||
1141
e.StagingItem.Input.
RoutedEvent
== Mouse.GotMouseCaptureEvent)
1168
if (e.StagingItem.Input.
RoutedEvent
== InputManager.InputReportEvent)
1250
if (e.StagingItem.Input.
RoutedEvent
== Stylus.StylusOutOfRangeEvent)
1312
if (e.StagingItem.Input.
RoutedEvent
== Stylus.StylusMoveEvent)
1324
if (e.StagingItem.Input.
RoutedEvent
== Stylus.StylusSystemGestureEvent)
1346
if (e.StagingItem.Input.
RoutedEvent
== Stylus.StylusOutOfRangeEvent)
1401
RoutedEvent eventMain = StylusLogic.GetMainEventFromPreviewEvent(e.StagingItem.Input.
RoutedEvent
);
1446
if (stylusEventArgs?.
RoutedEvent
== Stylus.PreviewStylusUpEvent &&
1474
if (stylusEventArgs.
RoutedEvent
== Stylus.StylusUpEvent &&
1488
else if (e.StagingItem.Input.
RoutedEvent
== Stylus.StylusSystemGestureEvent)
1516
RoutedEvent routedEvent = stylusEventArgs.
RoutedEvent
;
1536
if (stylusEventArgs.
RoutedEvent
== Stylus.StylusMoveEvent)
1540
else if (stylusEventArgs.
RoutedEvent
== Stylus.StylusDownEvent)
1544
else if (stylusEventArgs.
RoutedEvent
== Stylus.StylusUpEvent)
1586
storedStagingItems[stagingItemCount - 1].Input.
RoutedEvent
== Stylus.StylusMoveEvent)
1733
RawMouseActions actions = stylusDevice.GetMouseActionsFromStylusEventAndPlaybackCachedDown(stagingItem.Input.
RoutedEvent
, stylusArgs);
1797
if ((e.StagingItem.Input.
RoutedEvent
!= Mouse.PreviewMouseDownEvent) &&
1798
(e.StagingItem.Input.
RoutedEvent
!= Mouse.PreviewMouseUpEvent) &&
1799
(e.StagingItem.Input.
RoutedEvent
!= Mouse.PreviewMouseMoveEvent) &&
1800
(e.StagingItem.Input.
RoutedEvent
!= InputManager.InputReportEvent))
1813
if (e.StagingItem.Input.
RoutedEvent
== InputManager.InputReportEvent)
1851
e.StagingItem.Input.
RoutedEvent
!= Mouse.PreviewMouseUpEvent)
1854
if (e.StagingItem.Input.
RoutedEvent
== Mouse.PreviewMouseMoveEvent)
1860
if (e.StagingItem.Input.
RoutedEvent
== Mouse.PreviewMouseDownEvent)
1867
if (e.StagingItem.Input.
RoutedEvent
== Mouse.PreviewMouseUpEvent)
2865
RoutedEvent routedEvent = e.StagingItem.Input.
RoutedEvent
;
System\Windows\Input\TextCompositionManager.cs (9)
408
if (e.StagingItem.Input.
RoutedEvent
== Keyboard.KeyDownEvent)
449
if (e.StagingItem.Input.
RoutedEvent
== Keyboard.PreviewKeyDownEvent)
468
if(e.StagingItem.Input.
RoutedEvent
== Keyboard.KeyUpEvent)
518
else if(e.StagingItem.Input.
RoutedEvent
== TextCompositionManager.PreviewTextInputStartEvent)
531
else if(e.StagingItem.Input.
RoutedEvent
== TextCompositionManager.PreviewTextInputUpdateEvent)
544
else if(e.StagingItem.Input.
RoutedEvent
== TextCompositionManager.PreviewTextInputEvent)
557
else if(e.StagingItem.Input.
RoutedEvent
== TextCompositionManager.TextInputStartEvent)
570
else if(e.StagingItem.Input.
RoutedEvent
== TextCompositionManager.TextInputUpdateEvent)
591
if(input.Report.Type == InputType.Text && input.
RoutedEvent
== InputManager.InputReportEvent)
System\Windows\Input\TextServicesManager.cs (7)
122
if(e.StagingItem.Input.
RoutedEvent
!= Keyboard.PreviewKeyDownEvent &&
123
e.StagingItem.Input.
RoutedEvent
!= Keyboard.PreviewKeyUpEvent)
180
if(e.StagingItem.Input.
RoutedEvent
== Keyboard.PreviewKeyDownEvent ||
181
e.StagingItem.Input.
RoutedEvent
== Keyboard.PreviewKeyUpEvent)
202
else if(e.StagingItem.Input.
RoutedEvent
== Keyboard.KeyDownEvent ||
203
e.StagingItem.Input.
RoutedEvent
== Keyboard.KeyUpEvent)
241
if (keyArgs.
RoutedEvent
== Keyboard.PreviewKeyDownEvent/*keyArgs.IsDown*/)
System\Windows\Input\TouchDevice.cs (3)
992
RoutedEvent routedEvent = inputEventArgs.
RoutedEvent
;
1013
RoutedEvent promotedTouchEvent = PromotePreviewToMain(inputEventArgs.
RoutedEvent
, out forManipulation);
1068
RoutedEvent routedEvent = touchEventArgs.
RoutedEvent
;
System\Windows\RoutedEventArgs.cs (8)
17
/// <see cref="RoutedEventArgs.
RoutedEvent
"/>, <para/>
24
/// can be used with a single <see cref="
RoutedEvent
"/> <para/>
28
/// for packaging the <see cref="
RoutedEvent
"/>,
43
/// <see cref="RoutedEventArgs.
RoutedEvent
"/>
78
/// Returns the <see cref="
RoutedEvent
"/> associated
82
/// The <see cref="
RoutedEvent
"/> cannot be null
140
RoutedEvent
.OwnerType.Name,
141
RoutedEvent
.Name,
System\Windows\UIElement.cs (15)
1656
if (args.
RoutedEvent
!= route.RoutedEvent)
1662
if (args.
RoutedEvent
.RoutingStrategy == RoutingStrategy.Direct)
2191
if(e.
RoutedEvent
== Mouse.PreviewMouseDownEvent)
2193
else if(e.
RoutedEvent
== Mouse.MouseDownEvent)
2195
else if(e.
RoutedEvent
== Mouse.PreviewMouseUpEvent)
2201
if(e.
RoutedEvent
== Mouse.PreviewMouseDownEvent)
2203
else if(e.
RoutedEvent
== Mouse.MouseDownEvent)
2205
else if(e.
RoutedEvent
== Mouse.PreviewMouseUpEvent)
2243
RoutedEvent preservedRoutedEvent = args.
RoutedEvent
;
2249
EventRoute route = EventRouteFactory.FetchObject(args.
RoutedEvent
);
2256
args.
RoutedEvent
,
2284
args.
RoutedEvent
,
2301
EventRoute route = EventRouteFactory.FetchObject(args.
RoutedEvent
);
2308
args.
RoutedEvent
,
2334
args.
RoutedEvent
,
PresentationFramework (29)
System\Windows\Controls\Control.cs (2)
563
if ((e.
RoutedEvent
== UIElement.PreviewMouseLeftButtonDownEvent) ||
564
(e.
RoutedEvent
== UIElement.PreviewMouseRightButtonDownEvent))
System\Windows\Controls\DataGridCheckBoxColumn.cs (1)
214
keyArgs.
RoutedEvent
== Keyboard.KeyDownEvent &&
System\Windows\Controls\DataGridComboBoxColumn.cs (1)
598
if ((keyArgs != null) && keyArgs.
RoutedEvent
== Keyboard.KeyDownEvent && ((keyArgs.KeyStates & KeyStates.Down) == KeyStates.Down))
System\Windows\Controls\DataGridHyperlinkColumn.cs (1)
287
Debug.Assert(e.
RoutedEvent
== Keyboard.PreviewKeyDownEvent, "We should only reach here on the PreviewKeyDown event because the TextBox within is expected to handle the preview event and hence trump the successive KeyDown event.");
System\Windows\Controls\DataGridTextColumn.cs (1)
269
Debug.Assert(e.
RoutedEvent
== Keyboard.PreviewKeyDownEvent, "We should only reach here on the PreviewKeyDown event because the TextBox within is expected to handle the preview event and hence trump the successive KeyDown event.");
System\Windows\Controls\PopupControlService.cs (7)
37
if (e.StagingItem.Input.
RoutedEvent
== InputManager.InputReportEvent)
106
else if (e.StagingItem.Input.
RoutedEvent
== Keyboard.KeyDownEvent)
110
else if (e.StagingItem.Input.
RoutedEvent
== Keyboard.KeyUpEvent)
114
else if (e.StagingItem.Input.
RoutedEvent
== Mouse.MouseUpEvent)
118
else if (e.StagingItem.Input.
RoutedEvent
== Mouse.MouseDownEvent)
122
else if (e.StagingItem.Input.
RoutedEvent
== Keyboard.GotKeyboardFocusEvent)
126
else if (e.StagingItem.Input.
RoutedEvent
== Keyboard.LostKeyboardFocusEvent)
System\Windows\Controls\Primitives\Popup.cs (1)
1362
e.
RoutedEvent
!= Mouse.LostMouseCaptureEvent;
System\Windows\FrameworkElement.cs (3)
3010
handlers = selfStyle.EventHandlersStore.GetRoutedEventHandlers(args.
RoutedEvent
);
3015
handlers = selfFrameworkTemplate.EventHandlersStore.GetRoutedEventHandlers(args.
RoutedEvent
);
3032
handlers = StyleHelper.GetChildRoutedEventHandlers(templateChildIndex, args.
RoutedEvent
, ref templatedParentTemplate.EventDependents);
System\Windows\Input\KeyboardNavigation.cs (7)
1178
if(inputEventArgs.
RoutedEvent
!= Keyboard.KeyDownEvent)
3156
if (inputEventArgs.
RoutedEvent
== Keyboard.LostKeyboardFocusEvent)
3167
else if (inputEventArgs.
RoutedEvent
== Keyboard.KeyDownEvent)
3198
else if (inputEventArgs.
RoutedEvent
== Keyboard.KeyUpEvent)
3235
else if (inputEventArgs.
RoutedEvent
== Mouse.MouseDownEvent
3236
|| inputEventArgs.
RoutedEvent
== Mouse.MouseUpEvent)
3412
if (input.Report.Type == InputType.Keyboard && input.
RoutedEvent
== Event)
System\Windows\Navigation\RequestNavigateEventArgs.cs (1)
67
if (
RoutedEvent
== null)
System\Windows\StyleHelper.cs (4)
2424
InvokeEventTriggerActions(fe, fce, selfStyle, null, 0, e.
RoutedEvent
);
2430
InvokeEventTriggerActions(fe, fce, selfThemeStyle, null, 0, e.
RoutedEvent
);
2437
InvokeEventTriggerActions(fe, fce, null /*style*/, selfFrameworkTemplate, 0, e.
RoutedEvent
);
2488
InvokeEventTriggerActions(feTemplatedParent, fceTemplatedParent, null /*templatedParentStyle*/, templatedParentTemplate, templateChildIndex, e.
RoutedEvent
);
System.Windows.Controls.Ribbon (5)
Microsoft\Windows\Controls\KeyTipService.cs (2)
687
RoutedEvent routedEvent = e.StagingItem.Input.
RoutedEvent
;
719
if (e.StagingItem.Input.
RoutedEvent
== Keyboard.KeyDownEvent)
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (2)
2650
Debug.Assert(e.
RoutedEvent
== Mouse.MouseMoveEvent || e.
RoutedEvent
== Mouse.MouseLeaveEvent);
Microsoft\Windows\Controls\Ribbon\RibbonToolTipService.cs (1)
35
if (e.StagingItem.Input.
RoutedEvent
== Keyboard.KeyDownEvent)
WindowsFormsIntegration (2)
System\Windows\Integration\ElementHost.cs (1)
530
if (!e.StagingItem.Input.Handled && e.StagingItem.Input.
RoutedEvent
== SWI.TextCompositionManager.TextInputEvent)
System\Windows\Integration\WindowsFormsHost.cs (1)
1019
if (!e.StagingItem.Input.Handled && e.StagingItem.Input.
RoutedEvent
== SWI.TextCompositionManager.TextInputEvent)