133 writes to RoutedEvent
PresentationCore (101)
System\Windows\DataObjectEventArgs.cs (1)
58
RoutedEvent
= routedEvent;
System\Windows\DragDrop.cs (9)
700
args.
RoutedEvent
=DragDrop.PreviewQueryContinueDragEvent;
721
args.
RoutedEvent
= DragDrop.QueryContinueDragEvent;
757
args.
RoutedEvent
=DragDrop.PreviewGiveFeedbackEvent;
778
args.
RoutedEvent
= DragDrop.GiveFeedbackEvent;
1146
dragEventArgs.
RoutedEvent
= DragDrop.PreviewDragEnterEvent;
1150
dragEventArgs.
RoutedEvent
= DragDrop.PreviewDragOverEvent;
1154
dragEventArgs.
RoutedEvent
= DragDrop.PreviewDragLeaveEvent;
1158
dragEventArgs.
RoutedEvent
= DragDrop.PreviewDropEvent;
1183
dragEventArgs.
RoutedEvent
= dragEvent;
System\Windows\Input\AccessKeyManager.cs (1)
768
RoutedEvent
= AccessKeyManager.AccessKeyPressedEvent;
System\Windows\Input\Command\CommandBinding.cs (1)
165
RoutedEvent
= CommandManager.CanExecuteEvent,
System\Windows\Input\Command\CommandDevice.cs (1)
104
args.
RoutedEvent
= CommandDeviceEvent;
System\Windows\Input\Command\CommandManager.cs (2)
521
canExecuteArgs.
RoutedEvent
= CommandManager.CanExecuteEvent;
528
executedArgs.
RoutedEvent
= CommandManager.ExecutedEvent;
System\Windows\Input\Command\RoutedCommand.cs (4)
334
args.
RoutedEvent
= CommandManager.PreviewCanExecuteEvent;
338
args.
RoutedEvent
= CommandManager.CanExecuteEvent;
393
args.
RoutedEvent
= CommandManager.PreviewExecutedEvent;
418
args.
RoutedEvent
= CommandManager.ExecutedEvent;
System\Windows\Input\InputManager.cs (1)
867
inputReport.
RoutedEvent
=InputManager.InputReportEvent;
System\Windows\Input\InputProviderSite.cs (1)
96
input.
RoutedEvent
=InputManager.PreviewInputReportEvent;
System\Windows\Input\KeyboardDevice.cs (10)
288
previewLostFocus.
RoutedEvent
=Keyboard.PreviewLostKeyboardFocusEvent;
305
previewGotFocus.
RoutedEvent
=Keyboard.PreviewGotKeyboardFocusEvent;
328
acquireFocus.
RoutedEvent
= Keyboard.PreviewKeyboardInputProviderAcquireFocusEvent;
338
acquireFocus.
RoutedEvent
= Keyboard.KeyboardInputProviderAcquireFocusEvent;
473
lostFocus.
RoutedEvent
=Keyboard.LostKeyboardFocusEvent;
481
gotFocus.
RoutedEvent
=Keyboard.GotKeyboardFocusEvent;
844
keyDown.
RoutedEvent
=Keyboard.KeyDownEvent;
898
keyUp.
RoutedEvent
=Keyboard.KeyUpEvent;
930
previewKeyDown.
RoutedEvent
=Keyboard.PreviewKeyDownEvent;
949
previewKeyUp.
RoutedEvent
=Keyboard.PreviewKeyUpEvent;
System\Windows\Input\ManipulationBoundaryFeedbackEventArgs.cs (1)
32
RoutedEvent
= Manipulation.ManipulationBoundaryFeedbackEvent;
System\Windows\Input\ManipulationCompletedEventArgs.cs (1)
39
RoutedEvent
= Manipulation.ManipulationCompletedEvent;
System\Windows\Input\ManipulationDeltaEventArgs.cs (1)
42
RoutedEvent
= Manipulation.ManipulationDeltaEvent;
System\Windows\Input\ManipulationInertiaStartingEventArgs.cs (1)
39
RoutedEvent
= Manipulation.ManipulationInertiaStartingEvent;
System\Windows\Input\ManipulationStartedEventArgs.cs (1)
32
RoutedEvent
= Manipulation.ManipulationStartedEvent;
System\Windows\Input\ManipulationStartingEventArgs.cs (1)
27
RoutedEvent
= Manipulation.ManipulationStartingEvent;
System\Windows\Input\MouseDevice.cs (26)
920
inputReportEventArgs.
RoutedEvent
=InputManager.PreviewInputReportEvent;
948
queryCursor.
RoutedEvent
=Mouse.QueryCursorEvent;
1136
lostCapture.
RoutedEvent
=Mouse.LostMouseCaptureEvent;
1144
gotCapture.
RoutedEvent
=Mouse.GotMouseCaptureEvent;
1191
actionsArgs.
RoutedEvent
=InputManager.PreviewInputReportEvent;
1275
actionsArgs.
RoutedEvent
=InputManager.PreviewInputReportEvent;
1288
moveArgs.
RoutedEvent
=InputManager.PreviewInputReportEvent;
1329
clickThrough.
RoutedEvent
=Mouse.PreviewMouseDownOutsideCapturedElementEvent;
1345
clickThrough.
RoutedEvent
=Mouse.PreviewMouseUpOutsideCapturedElementEvent;
1374
activateArgs.
RoutedEvent
=InputManager.PreviewInputReportEvent;
1823
wheel.
RoutedEvent
=Mouse.MouseWheelEvent;
1843
down.
RoutedEvent
=Mouse.MouseDownEvent;
1855
up.
RoutedEvent
=Mouse.MouseUpEvent;
1867
move.
RoutedEvent
=Mouse.MouseMoveEvent;
1914
previewWheel.
RoutedEvent
=Mouse.PreviewMouseWheelEvent;
1934
previewDown.
RoutedEvent
=Mouse.PreviewMouseDownEvent;
1943
previewUp.
RoutedEvent
=Mouse.PreviewMouseUpEvent;
1952
previewDown.
RoutedEvent
=Mouse.PreviewMouseDownEvent;
1961
previewUp.
RoutedEvent
=Mouse.PreviewMouseUpEvent;
1970
previewDown.
RoutedEvent
=Mouse.PreviewMouseDownEvent;
1979
previewUp.
RoutedEvent
=Mouse.PreviewMouseUpEvent;
1988
previewDown.
RoutedEvent
=Mouse.PreviewMouseDownEvent;
1997
previewUp.
RoutedEvent
=Mouse.PreviewMouseUpEvent;
2006
previewDown.
RoutedEvent
=Mouse.PreviewMouseDownEvent;
2015
previewUp.
RoutedEvent
=Mouse.PreviewMouseUpEvent;
2025
previewMove.
RoutedEvent
=Mouse.PreviewMouseMoveEvent;
System\Windows\Input\Stylus\Pointer\PointerLogic.cs (4)
284
args.
RoutedEvent
= InputManager.PreviewInputReportEvent;
1031
args.
RoutedEvent
= routedEvent;
1077
eventArgsMain.
RoutedEvent
= eventMain;
1358
input.
RoutedEvent
= InputManager.PreviewInputReportEvent;
System\Windows\Input\Stylus\Pointer\PointerStylusDevice.cs (4)
665
inputReportEventArgs.
RoutedEvent
= InputManager.PreviewInputReportEvent;
878
RoutedEvent
= InputManager.PreviewInputReportEvent,
1056
lostCapture.
RoutedEvent
= Stylus.LostStylusCaptureEvent;
1063
gotCapture.
RoutedEvent
= Stylus.GotStylusCaptureEvent;
System\Windows\Input\Stylus\Wisp\WispLogic.cs (13)
368
input.
RoutedEvent
= InputManager.PreviewInputReportEvent;
452
mouseArgs.
RoutedEvent
= InputManager.PreviewInputReportEvent;
578
args.
RoutedEvent
= InputManager.PreviewInputReportEvent;
624
args.
RoutedEvent
= InputManager.PreviewInputReportEvent;
1302
actionsArgs.
RoutedEvent
= InputManager.PreviewInputReportEvent;
1399
args.
RoutedEvent
= routedEvent;
1444
eventArgsMain.
RoutedEvent
= eventMain;
1770
inputReportArgs.
RoutedEvent
= InputManager.PreviewInputReportEvent;
2583
input.
RoutedEvent
= InputManager.PreviewInputReportEvent;
2809
input.
RoutedEvent
= InputManager.PreviewInputReportEvent;
2860
inputReportArgs.
RoutedEvent
= InputManager.PreviewInputReportEvent;
2906
args.
RoutedEvent
= Stylus.PreviewStylusButtonDownEvent;
2910
args.
RoutedEvent
= Stylus.PreviewStylusButtonUpEvent;
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (4)
372
inputReportEventArgs.
RoutedEvent
= InputManager.PreviewInputReportEvent;
632
lostCapture.
RoutedEvent
= Stylus.LostStylusCaptureEvent;
639
gotCapture.
RoutedEvent
= Stylus.GotStylusCaptureEvent;
1696
inputReportArgs.
RoutedEvent
= InputManager.PreviewInputReportEvent;
System\Windows\Input\TextCompositionManager.cs (6)
330
textargs.
RoutedEvent
=TextCompositionManager.PreviewTextInputStartEvent;
355
textargs.
RoutedEvent
=TextCompositionManager.PreviewTextInputUpdateEvent;
381
textargs.
RoutedEvent
=TextCompositionManager.PreviewTextInputEvent;
540
text.
RoutedEvent
=TextCompositionManager.TextInputStartEvent;
553
text.
RoutedEvent
=TextCompositionManager.TextInputUpdateEvent;
566
text.
RoutedEvent
=TextCompositionManager.TextInputEvent;
System\Windows\Input\TouchDevice.cs (1)
953
touchEventArgs.
RoutedEvent
= routedEvent;
System\Windows\InterOp\HwndPointerInputProvider.cs (1)
281
RoutedEvent
= InputManager.PreviewInputReportEvent,
System\Windows\InterOp\HwndSource.cs (2)
2405
tunnelArgs.
RoutedEvent
= keyPreviewEvent;
2415
bubbleArgs.
RoutedEvent
=keyEvent;
System\Windows\MouseOverProperty.cs (1)
50
mouseEventArgs.
RoutedEvent
= oldValue ? Mouse.MouseLeaveEvent : Mouse.MouseEnterEvent;
System\Windows\PresentationSource.cs (1)
713
args.
RoutedEvent
=SourceChangedEvent;
System\Windows\StylusOverProperty.cs (1)
42
stylusEventArgs.
RoutedEvent
= oldValue ? Stylus.StylusLeaveEvent : Stylus.StylusEnterEvent;
PresentationFramework (27)
MS\Internal\AppModel\RequestStatusBarUpdateEventArgs.cs (2)
28
base.
RoutedEvent
= System.Windows.Documents.Hyperlink.RequestSetStatusBarEvent;
43
base.
RoutedEvent
= System.Windows.Documents.Hyperlink.RequestSetStatusBarEvent;
System\Windows\Controls\ContextMenuService.cs (1)
458
RoutedEvent
=(opening ? ContextMenuService.ContextMenuOpeningEvent : ContextMenuService.ContextMenuClosingEvent);
System\Windows\Controls\Control.cs (2)
575
doubleClick.
RoutedEvent
= PreviewMouseDoubleClickEvent;
582
doubleClick.
RoutedEvent
= MouseDoubleClickEvent;
System\Windows\Controls\Expander.cs (1)
276
args.
RoutedEvent
= Expander.ExpandedEvent;
System\Windows\Controls\Primitives\DragCompletedEventArgs.cs (1)
29
RoutedEvent
=Thumb.DragCompletedEvent;
System\Windows\Controls\Primitives\DragDeltaEventArgs.cs (1)
29
RoutedEvent
=Thumb.DragDeltaEvent;
System\Windows\Controls\Primitives\DragStartedEventArgs.cs (1)
29
RoutedEvent
=Thumb.DragStartedEvent;
System\Windows\Controls\Primitives\RangeBase.cs (1)
259
args.
RoutedEvent
=RangeBase.ValueChangedEvent;
System\Windows\Controls\Primitives\ScrollEventArgs.cs (1)
27
RoutedEvent
=ScrollBar.ScrollEvent;
System\Windows\Controls\ScrollViewer.cs (1)
2414
args.
RoutedEvent
= ScrollChangedEvent;
System\Windows\Controls\SelectionChangedEventArgs.cs (2)
43
RoutedEvent
= id;
54
RoutedEvent
= Selector.SelectionChangedEvent;
System\Windows\Controls\TextChangedEventArgs.cs (1)
80
RoutedEvent
=id;
System\Windows\Controls\ToolTipService.cs (3)
671
RoutedEvent
= ToolTipService.ToolTipOpeningEvent;
675
RoutedEvent
= ToolTipService.ToolTipClosingEvent;
697
RoutedEvent
= ToolTipService.FindToolTipEvent;
System\Windows\Controls\ValidationErrorEventArgs.cs (1)
42
RoutedEvent
= Validation.ErrorEvent;
System\Windows\Data\BindingExpression.cs (2)
2629
args.
RoutedEvent
= Binding.TargetUpdatedEvent;
2644
args.
RoutedEvent
= Binding.SourceUpdatedEvent;
System\Windows\FrameworkContentElement.cs (1)
1075
args.
RoutedEvent
=FrameworkElement.RequestBringIntoViewEvent;
System\Windows\FrameworkElement.cs (2)
3312
args.
RoutedEvent
=RequestBringIntoViewEvent;
4806
localArgs.
RoutedEvent
= SizeChangedEvent;
System\Windows\Navigation\RequestNavigateEventArgs.cs (2)
31
base.
RoutedEvent
=System.Windows.Documents.Hyperlink.RequestNavigateEvent;
45
base.
RoutedEvent
=System.Windows.Documents.Hyperlink.RequestNavigateEvent;
System\Windows\RoutedPropertyChangedEventArgs.cs (1)
55
RoutedEvent
= routedEvent;
System.Windows.Controls.Ribbon (5)
Microsoft\Windows\Controls\ActivatingKeyTipEventArgs.cs (1)
35
RoutedEvent
= KeyTipService.ActivatingKeyTipEvent;
Microsoft\Windows\Controls\KeyTipService.cs (2)
948
eventArgs.
RoutedEvent
= PreviewKeyTipAccessedEvent;
954
eventArgs.
RoutedEvent
= KeyTipAccessedEvent;
Microsoft\Windows\Controls\Ribbon\RibbonDismissPopupEventArgs.cs (1)
32
RoutedEvent
= RibbonControlService.DismissPopupEvent;
Microsoft\Windows\Controls\Ribbon\RibbonQuickAccessToolBarCloneEventArgs.cs (1)
28
this.
RoutedEvent
= RibbonQuickAccessToolBar.CloneEvent;
184 references to RoutedEvent
PresentationCore (148)
MS\Internal\SynchronizedInputHelper.cs (4)
48
RoutedEvent re = args.
RoutedEvent
;
94
if (Array.IndexOf(InputManager.SynchronizedInputEvents, args.
RoutedEvent
) >= 0)
108
Array.IndexOf(InputManager.SynchronizedInputEvents, args.
RoutedEvent
) >= 0)
120
return args.
RoutedEvent
== Keyboard.KeyDownEvent;
System\Windows\EventRoute.cs (3)
138
if (args.
RoutedEvent
!= _routedEvent)
144
if (args.
RoutedEvent
.RoutingStrategy == RoutingStrategy.Bubble ||
145
args.
RoutedEvent
.RoutingStrategy == RoutingStrategy.Direct)
System\Windows\Generated\ContentElement.cs (3)
389
/// <see cref="RoutedEventArgs.
RoutedEvent
"/>
652
GlobalEventManager.GetDTypedClassListeners(this.DependencyObjectType, e.
RoutedEvent
);
670
instanceListeners = store[e.
RoutedEvent
];
System\Windows\Generated\UIElement.cs (3)
389
/// <see cref="RoutedEventArgs.
RoutedEvent
"/>
652
GlobalEventManager.GetDTypedClassListeners(this.DependencyObjectType, e.
RoutedEvent
);
670
instanceListeners = store[e.
RoutedEvent
];
System\Windows\Generated\UIElement3D.cs (3)
186
/// <see cref="RoutedEventArgs.
RoutedEvent
"/>
449
GlobalEventManager.GetDTypedClassListeners(this.DependencyObjectType, e.
RoutedEvent
);
467
instanceListeners = store[e.
RoutedEvent
];
System\Windows\Input\AccessKeyManager.cs (2)
211
if (e.StagingItem.Input.
RoutedEvent
== Keyboard.KeyDownEvent)
215
else if (e.StagingItem.Input.
RoutedEvent
== TextCompositionManager.TextInputEvent)
System\Windows\Input\Command\CommandBinding.cs (2)
131
if (e.
RoutedEvent
== CommandManager.CanExecuteEvent)
185
if (e.
RoutedEvent
== CommandManager.ExecutedEvent)
System\Windows\Input\Command\CommandDevice.cs (5)
85
if (e.StagingItem.Input.
RoutedEvent
== InputManager.InputReportEvent)
113
else if (e.StagingItem.Input.
RoutedEvent
== Keyboard.KeyUpEvent ||
114
e.StagingItem.Input.
RoutedEvent
== Mouse.MouseUpEvent ||
115
e.StagingItem.Input.
RoutedEvent
== Keyboard.GotKeyboardFocusEvent ||
116
e.StagingItem.Input.
RoutedEvent
== Keyboard.LostKeyboardFocusEvent)
System\Windows\Input\Command\CommandManager.cs (2)
455
if (!e.Handled && (e.
RoutedEvent
== CanExecuteEvent))
490
if (!e.Handled && (e.
RoutedEvent
== ExecutedEvent))
System\Windows\Input\InputManager.cs (3)
763
Array.IndexOf(SynchronizedInputEvents, input.
RoutedEvent
) < 0 &&
764
Array.IndexOf(PairedSynchronizedInputEvents, input.
RoutedEvent
) < 0)
860
if(item.Input.
RoutedEvent
== InputManager.PreviewInputReportEvent)
System\Windows\Input\KeyboardDevice.cs (5)
758
if(e.StagingItem.Input.
RoutedEvent
== Keyboard.PreviewKeyDownEvent)
782
else if(e.StagingItem.Input.
RoutedEvent
== Keyboard.PreviewKeyUpEvent)
797
if(e.StagingItem.Input.
RoutedEvent
== Keyboard.PreviewKeyDownEvent)
852
if(e.StagingItem.Input.
RoutedEvent
== Keyboard.PreviewKeyUpEvent)
976
if(input.Report.Type == InputType.Keyboard && input.
RoutedEvent
== Event)
System\Windows\Input\ManipulationBoundaryFeedbackEventArgs.cs (1)
47
if (
RoutedEvent
== Manipulation.ManipulationBoundaryFeedbackEvent)
System\Windows\Input\ManipulationCompletedEventArgs.cs (1)
57
if (
RoutedEvent
== Manipulation.ManipulationCompletedEvent)
System\Windows\Input\ManipulationDeltaEventArgs.cs (1)
61
if (
RoutedEvent
== Manipulation.ManipulationDeltaEvent)
System\Windows\Input\ManipulationDevice.cs (1)
344
RoutedEvent routedEvent = inputEventArgs.
RoutedEvent
;
System\Windows\Input\ManipulationInertiaStartingEventArgs.cs (1)
56
if (
RoutedEvent
== Manipulation.ManipulationInertiaStartingEvent)
System\Windows\Input\ManipulationStartedEventArgs.cs (1)
47
if (
RoutedEvent
== Manipulation.ManipulationStartedEvent)
System\Windows\Input\ManipulationStartingEventArgs.cs (1)
120
if (
RoutedEvent
== Manipulation.ManipulationStartingEvent)
System\Windows\Input\MouseDevice.cs (11)
1157
if (e.StagingItem.Input.
RoutedEvent
== InputManager.PreviewInputReportEvent)
1319
if (e.StagingItem.Input.
RoutedEvent
== Mouse.PreviewMouseDownEvent)
1335
else if (e.StagingItem.Input.
RoutedEvent
== Mouse.PreviewMouseUpEvent)
1380
if ( e.StagingItem.Input.
RoutedEvent
== InputManager.PreviewInputReportEvent )
1783
if (e.StagingItem.Input.
RoutedEvent
== Mouse.PreviewMouseDownEvent)
1817
if (e.StagingItem.Input.
RoutedEvent
== Mouse.PreviewMouseWheelEvent)
1836
if (e.StagingItem.Input.
RoutedEvent
== Mouse.PreviewMouseDownEvent)
1849
if (e.StagingItem.Input.
RoutedEvent
== Mouse.PreviewMouseUpEvent)
1861
if (e.StagingItem.Input.
RoutedEvent
== Mouse.PreviewMouseMoveEvent)
1874
if (e.StagingItem.Input.
RoutedEvent
== Mouse.QueryCursorEvent)
1882
if (e.StagingItem.Input.
RoutedEvent
== InputManager.InputReportEvent)
System\Windows\Input\Stylus\Pointer\PointerLogic.cs (14)
183
if (e.StagingItem.Input.
RoutedEvent
== InputManager.PreviewInputReportEvent)
302
if (e.StagingItem.Input.
RoutedEvent
== InputManager.PreviewInputReportEvent)
346
if (e.StagingItem.Input.
RoutedEvent
== Mouse.LostMouseCaptureEvent ||
347
e.StagingItem.Input.
RoutedEvent
== Mouse.GotMouseCaptureEvent)
362
if (e.StagingItem.Input.
RoutedEvent
== InputManager.InputReportEvent)
984
RoutedEvent routedEvent = stylusEventArgs.
RoutedEvent
;
1043
RoutedEvent eventMain = StylusLogic.GetMainEventFromPreviewEvent(e.StagingItem.Input.
RoutedEvent
);
1089
stylusEventArgs.
RoutedEvent
== Stylus.PreviewStylusUpEvent &&
1120
if (stylusEventArgs.
RoutedEvent
== Stylus.StylusUpEvent &&
1143
if (stylusEventArgs.
RoutedEvent
== Stylus.StylusMoveEvent)
1147
else if (stylusEventArgs.
RoutedEvent
== Stylus.StylusDownEvent)
1151
else if (stylusEventArgs.
RoutedEvent
== Stylus.StylusUpEvent)
1280
if (args.StagingItem.Input.
RoutedEvent
== Stylus.PreviewStylusDownEvent)
1317
else if (args.StagingItem.Input.
RoutedEvent
== Stylus.PreviewStylusSystemGestureEvent)
System\Windows\Input\Stylus\Pointer\PointerStylusPlugInManager.cs (9)
505
if ((e.StagingItem.Input.
RoutedEvent
!= Mouse.PreviewMouseDownEvent) &&
506
(e.StagingItem.Input.
RoutedEvent
!= Mouse.PreviewMouseUpEvent) &&
507
(e.StagingItem.Input.
RoutedEvent
!= Mouse.PreviewMouseMoveEvent) &&
508
(e.StagingItem.Input.
RoutedEvent
!= InputManager.InputReportEvent))
521
if (e.StagingItem.Input.
RoutedEvent
== InputManager.InputReportEvent)
559
e.StagingItem.Input.
RoutedEvent
!= Mouse.PreviewMouseUpEvent)
562
if (e.StagingItem.Input.
RoutedEvent
== Mouse.PreviewMouseMoveEvent)
568
if (e.StagingItem.Input.
RoutedEvent
== Mouse.PreviewMouseDownEvent)
575
if (e.StagingItem.Input.
RoutedEvent
== Mouse.PreviewMouseUpEvent)
System\Windows\Input\Stylus\Wisp\WispLogic.cs (30)
468
if (e.StagingItem.Input.
RoutedEvent
== InputManager.PreviewInputReportEvent)
987
if (e.StagingItem.Input.
RoutedEvent
== InputManager.PreviewInputReportEvent)
1056
if (e.StagingItem.Input.
RoutedEvent
== Stylus.PreviewStylusDownEvent)
1149
if (e.StagingItem.Input.
RoutedEvent
== Mouse.LostMouseCaptureEvent ||
1150
e.StagingItem.Input.
RoutedEvent
== Mouse.GotMouseCaptureEvent)
1177
if (e.StagingItem.Input.
RoutedEvent
== InputManager.InputReportEvent)
1259
if (e.StagingItem.Input.
RoutedEvent
== Stylus.StylusOutOfRangeEvent)
1321
if (e.StagingItem.Input.
RoutedEvent
== Stylus.StylusMoveEvent)
1333
if (e.StagingItem.Input.
RoutedEvent
== Stylus.StylusSystemGestureEvent)
1355
if (e.StagingItem.Input.
RoutedEvent
== Stylus.StylusOutOfRangeEvent)
1410
RoutedEvent eventMain = StylusLogic.GetMainEventFromPreviewEvent(e.StagingItem.Input.
RoutedEvent
);
1455
if (stylusEventArgs?.
RoutedEvent
== Stylus.PreviewStylusUpEvent &&
1483
if (stylusEventArgs.
RoutedEvent
== Stylus.StylusUpEvent &&
1497
else if (e.StagingItem.Input.
RoutedEvent
== Stylus.StylusSystemGestureEvent)
1525
RoutedEvent routedEvent = stylusEventArgs.
RoutedEvent
;
1545
if (stylusEventArgs.
RoutedEvent
== Stylus.StylusMoveEvent)
1549
else if (stylusEventArgs.
RoutedEvent
== Stylus.StylusDownEvent)
1553
else if (stylusEventArgs.
RoutedEvent
== Stylus.StylusUpEvent)
1595
storedStagingItems[stagingItemCount - 1].Input.
RoutedEvent
== Stylus.StylusMoveEvent)
1742
RawMouseActions actions = stylusDevice.GetMouseActionsFromStylusEventAndPlaybackCachedDown(stagingItem.Input.
RoutedEvent
, stylusArgs);
1806
if ((e.StagingItem.Input.
RoutedEvent
!= Mouse.PreviewMouseDownEvent) &&
1807
(e.StagingItem.Input.
RoutedEvent
!= Mouse.PreviewMouseUpEvent) &&
1808
(e.StagingItem.Input.
RoutedEvent
!= Mouse.PreviewMouseMoveEvent) &&
1809
(e.StagingItem.Input.
RoutedEvent
!= InputManager.InputReportEvent))
1822
if (e.StagingItem.Input.
RoutedEvent
== InputManager.InputReportEvent)
1860
e.StagingItem.Input.
RoutedEvent
!= Mouse.PreviewMouseUpEvent)
1863
if (e.StagingItem.Input.
RoutedEvent
== Mouse.PreviewMouseMoveEvent)
1869
if (e.StagingItem.Input.
RoutedEvent
== Mouse.PreviewMouseDownEvent)
1876
if (e.StagingItem.Input.
RoutedEvent
== Mouse.PreviewMouseUpEvent)
2874
RoutedEvent routedEvent = e.StagingItem.Input.
RoutedEvent
;
System\Windows\Input\TextCompositionManager.cs (9)
424
if (e.StagingItem.Input.
RoutedEvent
== Keyboard.KeyDownEvent)
465
if (e.StagingItem.Input.
RoutedEvent
== Keyboard.PreviewKeyDownEvent)
484
if(e.StagingItem.Input.
RoutedEvent
== Keyboard.KeyUpEvent)
534
else if(e.StagingItem.Input.
RoutedEvent
== TextCompositionManager.PreviewTextInputStartEvent)
547
else if(e.StagingItem.Input.
RoutedEvent
== TextCompositionManager.PreviewTextInputUpdateEvent)
560
else if(e.StagingItem.Input.
RoutedEvent
== TextCompositionManager.PreviewTextInputEvent)
573
else if(e.StagingItem.Input.
RoutedEvent
== TextCompositionManager.TextInputStartEvent)
586
else if(e.StagingItem.Input.
RoutedEvent
== TextCompositionManager.TextInputUpdateEvent)
607
if(input.Report.Type == InputType.Text && input.
RoutedEvent
== InputManager.InputReportEvent)
System\Windows\Input\TextServicesManager.cs (7)
125
if(e.StagingItem.Input.
RoutedEvent
!= Keyboard.PreviewKeyDownEvent &&
126
e.StagingItem.Input.
RoutedEvent
!= Keyboard.PreviewKeyUpEvent)
183
if(e.StagingItem.Input.
RoutedEvent
== Keyboard.PreviewKeyDownEvent ||
184
e.StagingItem.Input.
RoutedEvent
== Keyboard.PreviewKeyUpEvent)
205
else if(e.StagingItem.Input.
RoutedEvent
== Keyboard.KeyDownEvent ||
206
e.StagingItem.Input.
RoutedEvent
== Keyboard.KeyUpEvent)
244
if (keyArgs.
RoutedEvent
== Keyboard.PreviewKeyDownEvent/*keyArgs.IsDown*/)
System\Windows\Input\TouchDevice.cs (3)
1004
RoutedEvent routedEvent = inputEventArgs.
RoutedEvent
;
1025
RoutedEvent promotedTouchEvent = PromotePreviewToMain(inputEventArgs.
RoutedEvent
, out forManipulation);
1080
RoutedEvent routedEvent = touchEventArgs.
RoutedEvent
;
System\Windows\RoutedEventArgs.cs (8)
23
/// <see cref="RoutedEventArgs.
RoutedEvent
"/>, <para/>
30
/// can be used with a single <see cref="
RoutedEvent
"/> <para/>
34
/// for packaging the <see cref="
RoutedEvent
"/>,
49
/// <see cref="RoutedEventArgs.
RoutedEvent
"/>
84
/// Returns the <see cref="
RoutedEvent
"/> associated
88
/// The <see cref="
RoutedEvent
"/> cannot be null
146
RoutedEvent
.OwnerType.Name,
147
RoutedEvent
.Name,
System\Windows\UIElement.cs (15)
1661
if (args.
RoutedEvent
!= route.RoutedEvent)
1667
if (args.
RoutedEvent
.RoutingStrategy == RoutingStrategy.Direct)
2196
if(e.
RoutedEvent
== Mouse.PreviewMouseDownEvent)
2198
else if(e.
RoutedEvent
== Mouse.MouseDownEvent)
2200
else if(e.
RoutedEvent
== Mouse.PreviewMouseUpEvent)
2206
if(e.
RoutedEvent
== Mouse.PreviewMouseDownEvent)
2208
else if(e.
RoutedEvent
== Mouse.MouseDownEvent)
2210
else if(e.
RoutedEvent
== Mouse.PreviewMouseUpEvent)
2248
RoutedEvent preservedRoutedEvent = args.
RoutedEvent
;
2254
EventRoute route = EventRouteFactory.FetchObject(args.
RoutedEvent
);
2261
args.
RoutedEvent
,
2289
args.
RoutedEvent
,
2306
EventRoute route = EventRouteFactory.FetchObject(args.
RoutedEvent
);
2313
args.
RoutedEvent
,
2339
args.
RoutedEvent
,
PresentationFramework (29)
System\Windows\Controls\Control.cs (2)
572
if ((e.
RoutedEvent
== UIElement.PreviewMouseLeftButtonDownEvent) ||
573
(e.
RoutedEvent
== UIElement.PreviewMouseRightButtonDownEvent))
System\Windows\Controls\DataGridCheckBoxColumn.cs (1)
218
keyArgs.
RoutedEvent
== Keyboard.KeyDownEvent &&
System\Windows\Controls\DataGridComboBoxColumn.cs (1)
602
if ((keyArgs != null) && keyArgs.
RoutedEvent
== Keyboard.KeyDownEvent && ((keyArgs.KeyStates & KeyStates.Down) == KeyStates.Down))
System\Windows\Controls\DataGridHyperlinkColumn.cs (1)
293
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)
272
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)
47
if (e.StagingItem.Input.
RoutedEvent
== InputManager.InputReportEvent)
116
else if (e.StagingItem.Input.
RoutedEvent
== Keyboard.KeyDownEvent)
120
else if (e.StagingItem.Input.
RoutedEvent
== Keyboard.KeyUpEvent)
124
else if (e.StagingItem.Input.
RoutedEvent
== Mouse.MouseUpEvent)
128
else if (e.StagingItem.Input.
RoutedEvent
== Mouse.MouseDownEvent)
132
else if (e.StagingItem.Input.
RoutedEvent
== Keyboard.GotKeyboardFocusEvent)
136
else if (e.StagingItem.Input.
RoutedEvent
== Keyboard.LostKeyboardFocusEvent)
System\Windows\Controls\Primitives\Popup.cs (1)
1369
e.
RoutedEvent
!= Mouse.LostMouseCaptureEvent;
System\Windows\FrameworkElement.cs (3)
3021
handlers = selfStyle.EventHandlersStore.GetRoutedEventHandlers(args.
RoutedEvent
);
3026
handlers = selfFrameworkTemplate.EventHandlersStore.GetRoutedEventHandlers(args.
RoutedEvent
);
3043
handlers = StyleHelper.GetChildRoutedEventHandlers(templateChildIndex, args.
RoutedEvent
, ref templatedParentTemplate.EventDependents);
System\Windows\Input\KeyboardNavigation.cs (7)
1188
if(inputEventArgs.
RoutedEvent
!= Keyboard.KeyDownEvent)
3166
if (inputEventArgs.
RoutedEvent
== Keyboard.LostKeyboardFocusEvent)
3177
else if (inputEventArgs.
RoutedEvent
== Keyboard.KeyDownEvent)
3208
else if (inputEventArgs.
RoutedEvent
== Keyboard.KeyUpEvent)
3245
else if (inputEventArgs.
RoutedEvent
== Mouse.MouseDownEvent
3246
|| inputEventArgs.
RoutedEvent
== Mouse.MouseUpEvent)
3422
if (input.Report.Type == InputType.Keyboard && input.
RoutedEvent
== Event)
System\Windows\Navigation\RequestNavigateEventArgs.cs (1)
73
if (
RoutedEvent
== null)
System\Windows\StyleHelper.cs (4)
2430
InvokeEventTriggerActions(fe, fce, selfStyle, null, 0, e.
RoutedEvent
);
2436
InvokeEventTriggerActions(fe, fce, selfThemeStyle, null, 0, e.
RoutedEvent
);
2443
InvokeEventTriggerActions(fe, fce, null /*style*/, selfFrameworkTemplate, 0, e.
RoutedEvent
);
2494
InvokeEventTriggerActions(feTemplatedParent, fceTemplatedParent, null /*templatedParentStyle*/, templatedParentTemplate, templateChildIndex, e.
RoutedEvent
);
System.Windows.Controls.Ribbon (5)
Microsoft\Windows\Controls\KeyTipService.cs (2)
689
RoutedEvent routedEvent = e.StagingItem.Input.
RoutedEvent
;
721
if (e.StagingItem.Input.
RoutedEvent
== Keyboard.KeyDownEvent)
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (2)
2652
Debug.Assert(e.
RoutedEvent
== Mouse.MouseMoveEvent || e.
RoutedEvent
== Mouse.MouseLeaveEvent);
Microsoft\Windows\Controls\Ribbon\RibbonToolTipService.cs (1)
36
if (e.StagingItem.Input.
RoutedEvent
== Keyboard.KeyDownEvent)
WindowsFormsIntegration (2)
System\Windows\Integration\ElementHost.cs (1)
533
if (!e.StagingItem.Input.Handled && e.StagingItem.Input.
RoutedEvent
== SWI.TextCompositionManager.TextInputEvent)
System\Windows\Integration\WindowsFormsHost.cs (1)
1021
if (!e.StagingItem.Input.Handled && e.StagingItem.Input.
RoutedEvent
== SWI.TextCompositionManager.TextInputEvent)