133 writes to RoutedEvent
PresentationCore (101)
System\Windows\DataObjectEventArgs.cs (1)
50
RoutedEvent
= routedEvent;
System\Windows\DragDrop.cs (9)
692
args.
RoutedEvent
=DragDrop.PreviewQueryContinueDragEvent;
713
args.
RoutedEvent
= DragDrop.QueryContinueDragEvent;
749
args.
RoutedEvent
=DragDrop.PreviewGiveFeedbackEvent;
770
args.
RoutedEvent
= DragDrop.GiveFeedbackEvent;
1138
dragEventArgs.
RoutedEvent
= DragDrop.PreviewDragEnterEvent;
1142
dragEventArgs.
RoutedEvent
= DragDrop.PreviewDragOverEvent;
1146
dragEventArgs.
RoutedEvent
= DragDrop.PreviewDragLeaveEvent;
1150
dragEventArgs.
RoutedEvent
= DragDrop.PreviewDropEvent;
1175
dragEventArgs.
RoutedEvent
= dragEvent;
System\Windows\Input\AccessKeyManager.cs (1)
755
RoutedEvent
= AccessKeyManager.AccessKeyPressedEvent;
System\Windows\Input\Command\CommandBinding.cs (1)
156
RoutedEvent
= CommandManager.CanExecuteEvent,
System\Windows\Input\Command\CommandDevice.cs (1)
97
RoutedEvent
= CommandDeviceEvent,
System\Windows\Input\Command\CommandManager.cs (2)
510
RoutedEvent
= CommandManager.CanExecuteEvent,
519
RoutedEvent
= CommandManager.ExecutedEvent,
System\Windows\Input\Command\RoutedCommand.cs (4)
323
RoutedEvent
= CommandManager.PreviewCanExecuteEvent
328
args.
RoutedEvent
= CommandManager.CanExecuteEvent;
384
RoutedEvent
= CommandManager.PreviewExecutedEvent
407
args.
RoutedEvent
= CommandManager.ExecutedEvent;
System\Windows\Input\InputManager.cs (1)
859
RoutedEvent
= InputManager.InputReportEvent
System\Windows\Input\InputProviderSite.cs (1)
87
RoutedEvent
= InputManager.PreviewInputReportEvent
System\Windows\Input\KeyboardDevice.cs (10)
276
RoutedEvent
= Keyboard.PreviewLostKeyboardFocusEvent,
295
RoutedEvent
= Keyboard.PreviewGotKeyboardFocusEvent,
320
RoutedEvent
= Keyboard.PreviewKeyboardInputProviderAcquireFocusEvent,
332
RoutedEvent
= Keyboard.KeyboardInputProviderAcquireFocusEvent,
469
RoutedEvent
= Keyboard.LostKeyboardFocusEvent,
479
RoutedEvent
= Keyboard.GotKeyboardFocusEvent,
840
keyDown.
RoutedEvent
=Keyboard.KeyDownEvent;
894
keyUp.
RoutedEvent
=Keyboard.KeyUpEvent;
926
previewKeyDown.
RoutedEvent
=Keyboard.PreviewKeyDownEvent;
945
previewKeyUp.
RoutedEvent
=Keyboard.PreviewKeyUpEvent;
System\Windows\Input\ManipulationBoundaryFeedbackEventArgs.cs (1)
24
RoutedEvent
= Manipulation.ManipulationBoundaryFeedbackEvent;
System\Windows\Input\ManipulationCompletedEventArgs.cs (1)
31
RoutedEvent
= Manipulation.ManipulationCompletedEvent;
System\Windows\Input\ManipulationDeltaEventArgs.cs (1)
34
RoutedEvent
= Manipulation.ManipulationDeltaEvent;
System\Windows\Input\ManipulationInertiaStartingEventArgs.cs (1)
31
RoutedEvent
= Manipulation.ManipulationInertiaStartingEvent;
System\Windows\Input\ManipulationStartedEventArgs.cs (1)
24
RoutedEvent
= Manipulation.ManipulationStartedEvent;
System\Windows\Input\ManipulationStartingEventArgs.cs (1)
20
RoutedEvent
= Manipulation.ManipulationStartingEvent;
System\Windows\Input\MouseDevice.cs (26)
907
inputReportEventArgs.
RoutedEvent
=InputManager.PreviewInputReportEvent;
936
RoutedEvent
= Mouse.QueryCursorEvent
1126
RoutedEvent
= Mouse.LostMouseCaptureEvent,
1136
RoutedEvent
= Mouse.GotMouseCaptureEvent,
1185
RoutedEvent
= InputManager.PreviewInputReportEvent
1271
RoutedEvent
= InputManager.PreviewInputReportEvent
1286
RoutedEvent
= InputManager.PreviewInputReportEvent
1329
RoutedEvent
= Mouse.PreviewMouseDownOutsideCapturedElementEvent
1347
RoutedEvent
= Mouse.PreviewMouseUpOutsideCapturedElementEvent
1378
RoutedEvent
= InputManager.PreviewInputReportEvent
1826
RoutedEvent
= Mouse.MouseWheelEvent
1848
RoutedEvent
= Mouse.MouseDownEvent
1862
RoutedEvent
= Mouse.MouseUpEvent
1876
RoutedEvent
= Mouse.MouseMoveEvent
1924
RoutedEvent
= Mouse.PreviewMouseWheelEvent
1945
RoutedEvent
= Mouse.PreviewMouseDownEvent
1955
RoutedEvent
= Mouse.PreviewMouseUpEvent
1965
RoutedEvent
= Mouse.PreviewMouseDownEvent
1975
RoutedEvent
= Mouse.PreviewMouseUpEvent
1985
RoutedEvent
= Mouse.PreviewMouseDownEvent
1995
RoutedEvent
= Mouse.PreviewMouseUpEvent
2005
RoutedEvent
= Mouse.PreviewMouseDownEvent
2015
RoutedEvent
= Mouse.PreviewMouseUpEvent
2025
RoutedEvent
= Mouse.PreviewMouseDownEvent
2035
RoutedEvent
= Mouse.PreviewMouseUpEvent
2046
RoutedEvent
= Mouse.PreviewMouseMoveEvent
System\Windows\Input\Stylus\Pointer\PointerLogic.cs (4)
267
RoutedEvent
= InputManager.PreviewInputReportEvent
1015
args.
RoutedEvent
= routedEvent;
1061
eventArgsMain.
RoutedEvent
= eventMain;
1342
RoutedEvent
= InputManager.PreviewInputReportEvent
System\Windows\Input\Stylus\Pointer\PointerStylusDevice.cs (4)
657
RoutedEvent
= InputManager.PreviewInputReportEvent
871
RoutedEvent
= InputManager.PreviewInputReportEvent,
1050
RoutedEvent
= Stylus.LostStylusCaptureEvent,
1059
RoutedEvent
= Stylus.GotStylusCaptureEvent,
System\Windows\Input\Stylus\Wisp\WispLogic.cs (13)
360
RoutedEvent
= InputManager.PreviewInputReportEvent
446
RoutedEvent
= InputManager.PreviewInputReportEvent
574
RoutedEvent
= InputManager.PreviewInputReportEvent
622
RoutedEvent
= InputManager.PreviewInputReportEvent
1302
RoutedEvent
= InputManager.PreviewInputReportEvent
1400
args.
RoutedEvent
= routedEvent;
1445
eventArgsMain.
RoutedEvent
= eventMain;
1772
RoutedEvent
= InputManager.PreviewInputReportEvent
2587
RoutedEvent
= InputManager.PreviewInputReportEvent
2817
RoutedEvent
= InputManager.PreviewInputReportEvent
2870
RoutedEvent
= InputManager.PreviewInputReportEvent
2919
args.
RoutedEvent
= Stylus.PreviewStylusButtonDownEvent;
2923
args.
RoutedEvent
= Stylus.PreviewStylusButtonUpEvent;
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (4)
366
RoutedEvent
= InputManager.PreviewInputReportEvent
628
RoutedEvent
= Stylus.LostStylusCaptureEvent,
637
RoutedEvent
= Stylus.GotStylusCaptureEvent,
1696
RoutedEvent
= InputManager.PreviewInputReportEvent
System\Windows\Input\TextCompositionManager.cs (6)
325
RoutedEvent
= TextCompositionManager.PreviewTextInputStartEvent,
352
RoutedEvent
= TextCompositionManager.PreviewTextInputUpdateEvent,
380
RoutedEvent
= TextCompositionManager.PreviewTextInputEvent,
540
RoutedEvent
= TextCompositionManager.TextInputStartEvent,
555
RoutedEvent
= TextCompositionManager.TextInputUpdateEvent,
570
RoutedEvent
= TextCompositionManager.TextInputEvent,
System\Windows\Input\TouchDevice.cs (1)
941
RoutedEvent
= routedEvent
System\Windows\InterOp\HwndPointerInputProvider.cs (1)
275
RoutedEvent
= InputManager.PreviewInputReportEvent,
System\Windows\InterOp\HwndSource.cs (2)
2390
RoutedEvent
= keyPreviewEvent
2402
RoutedEvent
= keyEvent
System\Windows\MouseOverProperty.cs (1)
48
RoutedEvent
= oldValue ? Mouse.MouseLeaveEvent : Mouse.MouseEnterEvent
System\Windows\PresentationSource.cs (1)
683
RoutedEvent
= SourceChangedEvent
System\Windows\StylusOverProperty.cs (1)
40
RoutedEvent
= oldValue ? Stylus.StylusLeaveEvent : Stylus.StylusEnterEvent
PresentationFramework (27)
MS\Internal\AppModel\RequestStatusBarUpdateEventArgs.cs (2)
24
base.
RoutedEvent
= System.Windows.Documents.Hyperlink.RequestSetStatusBarEvent;
39
base.
RoutedEvent
= System.Windows.Documents.Hyperlink.RequestSetStatusBarEvent;
System\Windows\Controls\ContextMenuService.cs (1)
453
RoutedEvent
=(opening ? ContextMenuService.ContextMenuOpeningEvent : ContextMenuService.ContextMenuClosingEvent);
System\Windows\Controls\Control.cs (2)
565
doubleClick.
RoutedEvent
= PreviewMouseDoubleClickEvent;
572
doubleClick.
RoutedEvent
= MouseDoubleClickEvent;
System\Windows\Controls\Expander.cs (1)
269
RoutedEvent
= Expander.ExpandedEvent,
System\Windows\Controls\Primitives\DragCompletedEventArgs.cs (1)
24
RoutedEvent
=Thumb.DragCompletedEvent;
System\Windows\Controls\Primitives\DragDeltaEventArgs.cs (1)
23
RoutedEvent
=Thumb.DragDeltaEvent;
System\Windows\Controls\Primitives\DragStartedEventArgs.cs (1)
23
RoutedEvent
=Thumb.DragStartedEvent;
System\Windows\Controls\Primitives\RangeBase.cs (1)
238
RoutedEvent
= RangeBase.ValueChangedEvent
System\Windows\Controls\Primitives\ScrollEventArgs.cs (1)
22
RoutedEvent
=ScrollBar.ScrollEvent;
System\Windows\Controls\ScrollViewer.cs (1)
2405
RoutedEvent
= ScrollChangedEvent,
System\Windows\Controls\SelectionChangedEventArgs.cs (2)
38
RoutedEvent
= id;
49
RoutedEvent
= Selector.SelectionChangedEvent;
System\Windows\Controls\TextChangedEventArgs.cs (1)
77
RoutedEvent
=id;
System\Windows\Controls\ToolTipService.cs (3)
665
RoutedEvent
= ToolTipService.ToolTipOpeningEvent;
669
RoutedEvent
= ToolTipService.ToolTipClosingEvent;
691
RoutedEvent
= ToolTipService.FindToolTipEvent;
System\Windows\Controls\ValidationErrorEventArgs.cs (1)
38
RoutedEvent
= Validation.ErrorEvent;
System\Windows\Data\BindingExpression.cs (2)
2581
RoutedEvent
= Binding.TargetUpdatedEvent
2598
RoutedEvent
= Binding.SourceUpdatedEvent
System\Windows\FrameworkContentElement.cs (1)
1053
RoutedEvent
= FrameworkElement.RequestBringIntoViewEvent
System\Windows\FrameworkElement.cs (2)
3290
RoutedEvent
= RequestBringIntoViewEvent
4786
RoutedEvent
= SizeChangedEvent
System\Windows\Navigation\RequestNavigateEventArgs.cs (2)
24
base.
RoutedEvent
=System.Windows.Documents.Hyperlink.RequestNavigateEvent;
38
base.
RoutedEvent
=System.Windows.Documents.Hyperlink.RequestNavigateEvent;
System\Windows\RoutedPropertyChangedEventArgs.cs (1)
47
RoutedEvent
= routedEvent;
System.Windows.Controls.Ribbon (5)
Microsoft\Windows\Controls\ActivatingKeyTipEventArgs.cs (1)
32
RoutedEvent
= KeyTipService.ActivatingKeyTipEvent;
Microsoft\Windows\Controls\KeyTipService.cs (2)
943
RoutedEvent
= PreviewKeyTipAccessedEvent
950
eventArgs.
RoutedEvent
= KeyTipAccessedEvent;
Microsoft\Windows\Controls\Ribbon\RibbonDismissPopupEventArgs.cs (1)
29
RoutedEvent
= RibbonControlService.DismissPopupEvent;
Microsoft\Windows\Controls\Ribbon\RibbonQuickAccessToolBarCloneEventArgs.cs (1)
24
this.
RoutedEvent
= RibbonQuickAccessToolBar.CloneEvent;
184 references to RoutedEvent
PresentationCore (148)
MS\Internal\SynchronizedInputHelper.cs (4)
43
RoutedEvent re = args.
RoutedEvent
;
89
if (Array.IndexOf(InputManager.SynchronizedInputEvents, args.
RoutedEvent
) >= 0)
103
Array.IndexOf(InputManager.SynchronizedInputEvents, args.
RoutedEvent
) >= 0)
115
return args.
RoutedEvent
== Keyboard.KeyDownEvent;
System\Windows\EventRoute.cs (3)
131
if (args.
RoutedEvent
!= _routedEvent)
137
if (args.
RoutedEvent
.RoutingStrategy == RoutingStrategy.Bubble ||
138
args.
RoutedEvent
.RoutingStrategy == RoutingStrategy.Direct)
System\Windows\Generated\ContentElement.cs (3)
372
/// <see cref="RoutedEventArgs.
RoutedEvent
"/>
636
GlobalEventManager.GetDTypedClassListeners(this.DependencyObjectType, e.
RoutedEvent
);
654
instanceListeners = store[e.
RoutedEvent
];
System\Windows\Generated\UIElement.cs (3)
372
/// <see cref="RoutedEventArgs.
RoutedEvent
"/>
636
GlobalEventManager.GetDTypedClassListeners(this.DependencyObjectType, e.
RoutedEvent
);
654
instanceListeners = store[e.
RoutedEvent
];
System\Windows\Generated\UIElement3D.cs (3)
178
/// <see cref="RoutedEventArgs.
RoutedEvent
"/>
442
GlobalEventManager.GetDTypedClassListeners(this.DependencyObjectType, e.
RoutedEvent
);
460
instanceListeners = store[e.
RoutedEvent
];
System\Windows\Input\AccessKeyManager.cs (2)
198
if (e.StagingItem.Input.
RoutedEvent
== Keyboard.KeyDownEvent)
202
else if (e.StagingItem.Input.
RoutedEvent
== TextCompositionManager.TextInputEvent)
System\Windows\Input\Command\CommandBinding.cs (2)
122
if (e.
RoutedEvent
== CommandManager.CanExecuteEvent)
176
if (e.
RoutedEvent
== CommandManager.ExecutedEvent)
System\Windows\Input\Command\CommandDevice.cs (5)
77
if (e.StagingItem.Input.
RoutedEvent
== InputManager.InputReportEvent)
107
else if (e.StagingItem.Input.
RoutedEvent
== Keyboard.KeyUpEvent ||
108
e.StagingItem.Input.
RoutedEvent
== Mouse.MouseUpEvent ||
109
e.StagingItem.Input.
RoutedEvent
== Keyboard.GotKeyboardFocusEvent ||
110
e.StagingItem.Input.
RoutedEvent
== Keyboard.LostKeyboardFocusEvent)
System\Windows\Input\Command\CommandManager.cs (2)
443
if (!e.Handled && (e.
RoutedEvent
== CanExecuteEvent))
478
if (!e.Handled && (e.
RoutedEvent
== ExecutedEvent))
System\Windows\Input\InputManager.cs (3)
754
Array.IndexOf(SynchronizedInputEvents, input.
RoutedEvent
) < 0 &&
755
Array.IndexOf(PairedSynchronizedInputEvents, input.
RoutedEvent
) < 0)
851
if(item.Input.
RoutedEvent
== InputManager.PreviewInputReportEvent)
System\Windows\Input\KeyboardDevice.cs (5)
754
if(e.StagingItem.Input.
RoutedEvent
== Keyboard.PreviewKeyDownEvent)
778
else if(e.StagingItem.Input.
RoutedEvent
== Keyboard.PreviewKeyUpEvent)
793
if(e.StagingItem.Input.
RoutedEvent
== Keyboard.PreviewKeyDownEvent)
848
if(e.StagingItem.Input.
RoutedEvent
== Keyboard.PreviewKeyUpEvent)
972
if(input.Report.Type == InputType.Keyboard && input.
RoutedEvent
== Event)
System\Windows\Input\ManipulationBoundaryFeedbackEventArgs.cs (1)
39
if (
RoutedEvent
== Manipulation.ManipulationBoundaryFeedbackEvent)
System\Windows\Input\ManipulationCompletedEventArgs.cs (1)
49
if (
RoutedEvent
== Manipulation.ManipulationCompletedEvent)
System\Windows\Input\ManipulationDeltaEventArgs.cs (1)
53
if (
RoutedEvent
== Manipulation.ManipulationDeltaEvent)
System\Windows\Input\ManipulationDevice.cs (1)
328
RoutedEvent routedEvent = inputEventArgs.
RoutedEvent
;
System\Windows\Input\ManipulationInertiaStartingEventArgs.cs (1)
48
if (
RoutedEvent
== Manipulation.ManipulationInertiaStartingEvent)
System\Windows\Input\ManipulationStartedEventArgs.cs (1)
39
if (
RoutedEvent
== Manipulation.ManipulationStartedEvent)
System\Windows\Input\ManipulationStartingEventArgs.cs (1)
113
if (
RoutedEvent
== Manipulation.ManipulationStartingEvent)
System\Windows\Input\MouseDevice.cs (11)
1150
if (e.StagingItem.Input.
RoutedEvent
== InputManager.PreviewInputReportEvent)
1318
if (e.StagingItem.Input.
RoutedEvent
== Mouse.PreviewMouseDownEvent)
1336
else if (e.StagingItem.Input.
RoutedEvent
== Mouse.PreviewMouseUpEvent)
1385
if ( e.StagingItem.Input.
RoutedEvent
== InputManager.PreviewInputReportEvent )
1785
if (e.StagingItem.Input.
RoutedEvent
== Mouse.PreviewMouseDownEvent)
1819
if (e.StagingItem.Input.
RoutedEvent
== Mouse.PreviewMouseWheelEvent)
1840
if (e.StagingItem.Input.
RoutedEvent
== Mouse.PreviewMouseDownEvent)
1855
if (e.StagingItem.Input.
RoutedEvent
== Mouse.PreviewMouseUpEvent)
1869
if (e.StagingItem.Input.
RoutedEvent
== Mouse.PreviewMouseMoveEvent)
1884
if (e.StagingItem.Input.
RoutedEvent
== Mouse.QueryCursorEvent)
1892
if (e.StagingItem.Input.
RoutedEvent
== InputManager.InputReportEvent)
System\Windows\Input\Stylus\Pointer\PointerLogic.cs (14)
165
if (e.StagingItem.Input.
RoutedEvent
== InputManager.PreviewInputReportEvent)
286
if (e.StagingItem.Input.
RoutedEvent
== InputManager.PreviewInputReportEvent)
330
if (e.StagingItem.Input.
RoutedEvent
== Mouse.LostMouseCaptureEvent ||
331
e.StagingItem.Input.
RoutedEvent
== Mouse.GotMouseCaptureEvent)
346
if (e.StagingItem.Input.
RoutedEvent
== InputManager.InputReportEvent)
968
RoutedEvent routedEvent = stylusEventArgs.
RoutedEvent
;
1027
RoutedEvent eventMain = StylusLogic.GetMainEventFromPreviewEvent(e.StagingItem.Input.
RoutedEvent
);
1073
stylusEventArgs.
RoutedEvent
== Stylus.PreviewStylusUpEvent &&
1104
if (stylusEventArgs.
RoutedEvent
== Stylus.StylusUpEvent &&
1127
if (stylusEventArgs.
RoutedEvent
== Stylus.StylusMoveEvent)
1131
else if (stylusEventArgs.
RoutedEvent
== Stylus.StylusDownEvent)
1135
else if (stylusEventArgs.
RoutedEvent
== Stylus.StylusUpEvent)
1264
if (args.StagingItem.Input.
RoutedEvent
== Stylus.PreviewStylusDownEvent)
1301
else if (args.StagingItem.Input.
RoutedEvent
== Stylus.PreviewStylusSystemGestureEvent)
System\Windows\Input\Stylus\Pointer\PointerStylusPlugInManager.cs (9)
492
if ((e.StagingItem.Input.
RoutedEvent
!= Mouse.PreviewMouseDownEvent) &&
493
(e.StagingItem.Input.
RoutedEvent
!= Mouse.PreviewMouseUpEvent) &&
494
(e.StagingItem.Input.
RoutedEvent
!= Mouse.PreviewMouseMoveEvent) &&
495
(e.StagingItem.Input.
RoutedEvent
!= InputManager.InputReportEvent))
508
if (e.StagingItem.Input.
RoutedEvent
== InputManager.InputReportEvent)
546
e.StagingItem.Input.
RoutedEvent
!= Mouse.PreviewMouseUpEvent)
549
if (e.StagingItem.Input.
RoutedEvent
== Mouse.PreviewMouseMoveEvent)
555
if (e.StagingItem.Input.
RoutedEvent
== Mouse.PreviewMouseDownEvent)
562
if (e.StagingItem.Input.
RoutedEvent
== Mouse.PreviewMouseUpEvent)
System\Windows\Input\Stylus\Wisp\WispLogic.cs (30)
463
if (e.StagingItem.Input.
RoutedEvent
== InputManager.PreviewInputReportEvent)
986
if (e.StagingItem.Input.
RoutedEvent
== InputManager.PreviewInputReportEvent)
1055
if (e.StagingItem.Input.
RoutedEvent
== Stylus.PreviewStylusDownEvent)
1148
if (e.StagingItem.Input.
RoutedEvent
== Mouse.LostMouseCaptureEvent ||
1149
e.StagingItem.Input.
RoutedEvent
== Mouse.GotMouseCaptureEvent)
1176
if (e.StagingItem.Input.
RoutedEvent
== InputManager.InputReportEvent)
1258
if (e.StagingItem.Input.
RoutedEvent
== Stylus.StylusOutOfRangeEvent)
1322
if (e.StagingItem.Input.
RoutedEvent
== Stylus.StylusMoveEvent)
1334
if (e.StagingItem.Input.
RoutedEvent
== Stylus.StylusSystemGestureEvent)
1356
if (e.StagingItem.Input.
RoutedEvent
== Stylus.StylusOutOfRangeEvent)
1411
RoutedEvent eventMain = StylusLogic.GetMainEventFromPreviewEvent(e.StagingItem.Input.
RoutedEvent
);
1456
if (stylusEventArgs?.
RoutedEvent
== Stylus.PreviewStylusUpEvent &&
1484
if (stylusEventArgs.
RoutedEvent
== Stylus.StylusUpEvent &&
1498
else if (e.StagingItem.Input.
RoutedEvent
== Stylus.StylusSystemGestureEvent)
1526
RoutedEvent routedEvent = stylusEventArgs.
RoutedEvent
;
1546
if (stylusEventArgs.
RoutedEvent
== Stylus.StylusMoveEvent)
1550
else if (stylusEventArgs.
RoutedEvent
== Stylus.StylusDownEvent)
1554
else if (stylusEventArgs.
RoutedEvent
== Stylus.StylusUpEvent)
1596
storedStagingItems[stagingItemCount - 1].Input.
RoutedEvent
== Stylus.StylusMoveEvent)
1743
RawMouseActions actions = stylusDevice.GetMouseActionsFromStylusEventAndPlaybackCachedDown(stagingItem.Input.
RoutedEvent
, stylusArgs);
1809
if ((e.StagingItem.Input.
RoutedEvent
!= Mouse.PreviewMouseDownEvent) &&
1810
(e.StagingItem.Input.
RoutedEvent
!= Mouse.PreviewMouseUpEvent) &&
1811
(e.StagingItem.Input.
RoutedEvent
!= Mouse.PreviewMouseMoveEvent) &&
1812
(e.StagingItem.Input.
RoutedEvent
!= InputManager.InputReportEvent))
1825
if (e.StagingItem.Input.
RoutedEvent
== InputManager.InputReportEvent)
1863
e.StagingItem.Input.
RoutedEvent
!= Mouse.PreviewMouseUpEvent)
1866
if (e.StagingItem.Input.
RoutedEvent
== Mouse.PreviewMouseMoveEvent)
1872
if (e.StagingItem.Input.
RoutedEvent
== Mouse.PreviewMouseDownEvent)
1879
if (e.StagingItem.Input.
RoutedEvent
== Mouse.PreviewMouseUpEvent)
2885
RoutedEvent routedEvent = e.StagingItem.Input.
RoutedEvent
;
System\Windows\Input\TextCompositionManager.cs (9)
426
if (e.StagingItem.Input.
RoutedEvent
== Keyboard.KeyDownEvent)
467
if (e.StagingItem.Input.
RoutedEvent
== Keyboard.PreviewKeyDownEvent)
486
if (e.StagingItem.Input.
RoutedEvent
== Keyboard.KeyUpEvent)
533
else if(e.StagingItem.Input.
RoutedEvent
== TextCompositionManager.PreviewTextInputStartEvent)
548
else if(e.StagingItem.Input.
RoutedEvent
== TextCompositionManager.PreviewTextInputUpdateEvent)
563
else if(e.StagingItem.Input.
RoutedEvent
== TextCompositionManager.PreviewTextInputEvent)
578
else if(e.StagingItem.Input.
RoutedEvent
== TextCompositionManager.TextInputStartEvent)
591
else if(e.StagingItem.Input.
RoutedEvent
== TextCompositionManager.TextInputUpdateEvent)
612
if(input.Report.Type == InputType.Text && input.
RoutedEvent
== InputManager.InputReportEvent)
System\Windows\Input\TextServicesManager.cs (7)
121
if(e.StagingItem.Input.
RoutedEvent
!= Keyboard.PreviewKeyDownEvent &&
122
e.StagingItem.Input.
RoutedEvent
!= Keyboard.PreviewKeyUpEvent)
179
if(e.StagingItem.Input.
RoutedEvent
== Keyboard.PreviewKeyDownEvent ||
180
e.StagingItem.Input.
RoutedEvent
== Keyboard.PreviewKeyUpEvent)
201
else if(e.StagingItem.Input.
RoutedEvent
== Keyboard.KeyDownEvent ||
202
e.StagingItem.Input.
RoutedEvent
== Keyboard.KeyUpEvent)
240
if (keyArgs.
RoutedEvent
== Keyboard.PreviewKeyDownEvent/*keyArgs.IsDown*/)
System\Windows\Input\TouchDevice.cs (3)
993
RoutedEvent routedEvent = inputEventArgs.
RoutedEvent
;
1014
RoutedEvent promotedTouchEvent = PromotePreviewToMain(inputEventArgs.
RoutedEvent
, out forManipulation);
1069
RoutedEvent routedEvent = touchEventArgs.
RoutedEvent
;
System\Windows\RoutedEventArgs.cs (8)
16
/// <see cref="RoutedEventArgs.
RoutedEvent
"/>, <para/>
23
/// can be used with a single <see cref="
RoutedEvent
"/> <para/>
27
/// for packaging the <see cref="
RoutedEvent
"/>,
42
/// <see cref="RoutedEventArgs.
RoutedEvent
"/>
77
/// Returns the <see cref="
RoutedEvent
"/> associated
81
/// The <see cref="
RoutedEvent
"/> cannot be null
139
RoutedEvent
.OwnerType.Name,
140
RoutedEvent
.Name,
System\Windows\UIElement.cs (15)
1647
if (args.
RoutedEvent
!= route.RoutedEvent)
1653
if (args.
RoutedEvent
.RoutingStrategy == RoutingStrategy.Direct)
2182
if(e.
RoutedEvent
== Mouse.PreviewMouseDownEvent)
2184
else if(e.
RoutedEvent
== Mouse.MouseDownEvent)
2186
else if(e.
RoutedEvent
== Mouse.PreviewMouseUpEvent)
2192
if(e.
RoutedEvent
== Mouse.PreviewMouseDownEvent)
2194
else if(e.
RoutedEvent
== Mouse.MouseDownEvent)
2196
else if(e.
RoutedEvent
== Mouse.PreviewMouseUpEvent)
2234
RoutedEvent preservedRoutedEvent = args.
RoutedEvent
;
2240
EventRoute route = EventRouteFactory.FetchObject(args.
RoutedEvent
);
2247
args.
RoutedEvent
,
2275
args.
RoutedEvent
,
2292
EventRoute route = EventRouteFactory.FetchObject(args.
RoutedEvent
);
2299
args.
RoutedEvent
,
2325
args.
RoutedEvent
,
PresentationFramework (29)
System\Windows\Controls\Control.cs (2)
562
if ((e.
RoutedEvent
== UIElement.PreviewMouseLeftButtonDownEvent) ||
563
(e.
RoutedEvent
== UIElement.PreviewMouseRightButtonDownEvent))
System\Windows\Controls\DataGridCheckBoxColumn.cs (1)
213
keyArgs.
RoutedEvent
== Keyboard.KeyDownEvent &&
System\Windows\Controls\DataGridComboBoxColumn.cs (1)
597
if ((keyArgs != null) && keyArgs.
RoutedEvent
== Keyboard.KeyDownEvent && ((keyArgs.KeyStates & KeyStates.Down) == KeyStates.Down))
System\Windows\Controls\DataGridHyperlinkColumn.cs (1)
286
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)
268
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)
36
if (e.StagingItem.Input.
RoutedEvent
== InputManager.InputReportEvent)
105
else if (e.StagingItem.Input.
RoutedEvent
== Keyboard.KeyDownEvent)
109
else if (e.StagingItem.Input.
RoutedEvent
== Keyboard.KeyUpEvent)
113
else if (e.StagingItem.Input.
RoutedEvent
== Mouse.MouseUpEvent)
117
else if (e.StagingItem.Input.
RoutedEvent
== Mouse.MouseDownEvent)
121
else if (e.StagingItem.Input.
RoutedEvent
== Keyboard.GotKeyboardFocusEvent)
125
else if (e.StagingItem.Input.
RoutedEvent
== Keyboard.LostKeyboardFocusEvent)
System\Windows\Controls\Primitives\Popup.cs (1)
1374
e.
RoutedEvent
!= Mouse.LostMouseCaptureEvent;
System\Windows\FrameworkElement.cs (3)
3001
handlers = selfStyle.EventHandlersStore.GetRoutedEventHandlers(args.
RoutedEvent
);
3006
handlers = selfFrameworkTemplate.EventHandlersStore.GetRoutedEventHandlers(args.
RoutedEvent
);
3023
handlers = StyleHelper.GetChildRoutedEventHandlers(templateChildIndex, args.
RoutedEvent
, ref templatedParentTemplate.EventDependents);
System\Windows\Input\KeyboardNavigation.cs (7)
1179
if(inputEventArgs.
RoutedEvent
!= Keyboard.KeyDownEvent)
3150
if (inputEventArgs.
RoutedEvent
== Keyboard.LostKeyboardFocusEvent)
3161
else if (inputEventArgs.
RoutedEvent
== Keyboard.KeyDownEvent)
3192
else if (inputEventArgs.
RoutedEvent
== Keyboard.KeyUpEvent)
3229
else if (inputEventArgs.
RoutedEvent
== Mouse.MouseDownEvent
3230
|| inputEventArgs.
RoutedEvent
== Mouse.MouseUpEvent)
3406
if (input.Report.Type == InputType.Keyboard && input.
RoutedEvent
== Event)
System\Windows\Navigation\RequestNavigateEventArgs.cs (1)
66
if (
RoutedEvent
== null)
System\Windows\StyleHelper.cs (4)
2418
InvokeEventTriggerActions(fe, fce, selfStyle, null, 0, e.
RoutedEvent
);
2424
InvokeEventTriggerActions(fe, fce, selfThemeStyle, null, 0, e.
RoutedEvent
);
2431
InvokeEventTriggerActions(fe, fce, null /*style*/, selfFrameworkTemplate, 0, e.
RoutedEvent
);
2482
InvokeEventTriggerActions(feTemplatedParent, fceTemplatedParent, null /*templatedParentStyle*/, templatedParentTemplate, templateChildIndex, e.
RoutedEvent
);
System.Windows.Controls.Ribbon (5)
Microsoft\Windows\Controls\KeyTipService.cs (2)
683
RoutedEvent routedEvent = e.StagingItem.Input.
RoutedEvent
;
715
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)
34
if (e.StagingItem.Input.
RoutedEvent
== Keyboard.KeyDownEvent)
WindowsFormsIntegration (2)
System\Windows\Integration\ElementHost.cs (1)
525
if (!e.StagingItem.Input.Handled && e.StagingItem.Input.
RoutedEvent
== SWI.TextCompositionManager.TextInputEvent)
System\Windows\Integration\WindowsFormsHost.cs (1)
997
if (!e.StagingItem.Input.Handled && e.StagingItem.Input.
RoutedEvent
== SWI.TextCompositionManager.TextInputEvent)