30 references to Direct
PresentationCore (18)
System\Windows\EventManager.cs (1)
60
routingStrategy != RoutingStrategy.
Direct
)
System\Windows\EventRoute.cs (1)
139
args.RoutedEvent.RoutingStrategy == RoutingStrategy.
Direct
)
System\Windows\Generated\UIElement.cs (8)
2837
public static readonly RoutedEvent PreviewMouseLeftButtonDownEvent = EventManager.RegisterRoutedEvent("PreviewMouseLeftButtonDown", RoutingStrategy.
Direct
, typeof(MouseButtonEventHandler), _typeofThis);
2856
public static readonly RoutedEvent MouseLeftButtonDownEvent = EventManager.RegisterRoutedEvent("MouseLeftButtonDown", RoutingStrategy.
Direct
, typeof(MouseButtonEventHandler), _typeofThis);
2875
public static readonly RoutedEvent PreviewMouseLeftButtonUpEvent = EventManager.RegisterRoutedEvent("PreviewMouseLeftButtonUp", RoutingStrategy.
Direct
, typeof(MouseButtonEventHandler), _typeofThis);
2894
public static readonly RoutedEvent MouseLeftButtonUpEvent = EventManager.RegisterRoutedEvent("MouseLeftButtonUp", RoutingStrategy.
Direct
, typeof(MouseButtonEventHandler), _typeofThis);
2913
public static readonly RoutedEvent PreviewMouseRightButtonDownEvent = EventManager.RegisterRoutedEvent("PreviewMouseRightButtonDown", RoutingStrategy.
Direct
, typeof(MouseButtonEventHandler), _typeofThis);
2932
public static readonly RoutedEvent MouseRightButtonDownEvent = EventManager.RegisterRoutedEvent("MouseRightButtonDown", RoutingStrategy.
Direct
, typeof(MouseButtonEventHandler), _typeofThis);
2951
public static readonly RoutedEvent PreviewMouseRightButtonUpEvent = EventManager.RegisterRoutedEvent("PreviewMouseRightButtonUp", RoutingStrategy.
Direct
, typeof(MouseButtonEventHandler), _typeofThis);
2970
public static readonly RoutedEvent MouseRightButtonUpEvent = EventManager.RegisterRoutedEvent("MouseRightButtonUp", RoutingStrategy.
Direct
, typeof(MouseButtonEventHandler), _typeofThis);
System\Windows\Input\Mouse.cs (2)
270
public static readonly RoutedEvent MouseEnterEvent = EventManager.RegisterRoutedEvent("MouseEnter", RoutingStrategy.
Direct
, typeof(MouseEventHandler), typeof(Mouse));
295
public static readonly RoutedEvent MouseLeaveEvent = EventManager.RegisterRoutedEvent("MouseLeave", RoutingStrategy.
Direct
, typeof(MouseEventHandler), typeof(Mouse));
System\Windows\Input\Stylus\Common\Stylus.cs (2)
218
public static readonly RoutedEvent StylusEnterEvent = EventManager.RegisterRoutedEvent("StylusEnter", RoutingStrategy.
Direct
, typeof(StylusEventHandler), typeof(Stylus));
243
public static readonly RoutedEvent StylusLeaveEvent = EventManager.RegisterRoutedEvent("StylusLeave", RoutingStrategy.
Direct
, typeof(StylusEventHandler), typeof(Stylus));
System\Windows\Input\Touch.cs (2)
24
internal static readonly RoutedEvent TouchEnterEvent = EventManager.RegisterRoutedEvent("TouchEnter", RoutingStrategy.
Direct
, typeof(EventHandler<TouchEventArgs>), typeof(Touch));
25
internal static readonly RoutedEvent TouchLeaveEvent = EventManager.RegisterRoutedEvent("TouchLeave", RoutingStrategy.
Direct
, typeof(EventHandler<TouchEventArgs>), typeof(Touch));
System\Windows\PresentationSource.cs (1)
754
private static readonly RoutedEvent SourceChangedEvent = EventManager.RegisterRoutedEvent("SourceChanged", RoutingStrategy.
Direct
, typeof(SourceChangedEventHandler), typeof(PresentationSource));
System\Windows\UIElement.cs (1)
1654
if (args.RoutedEvent.RoutingStrategy == RoutingStrategy.
Direct
)
PresentationFramework (10)
System\Windows\Controls\Calendar.cs (1)
46
public static readonly RoutedEvent SelectedDatesChangedEvent = EventManager.RegisterRoutedEvent("SelectedDatesChanged", RoutingStrategy.
Direct
, typeof(EventHandler<SelectionChangedEventArgs>), typeof(Calendar));
System\Windows\Controls\Control.cs (2)
513
public static readonly RoutedEvent PreviewMouseDoubleClickEvent = EventManager.RegisterRoutedEvent("PreviewMouseDoubleClick", RoutingStrategy.
Direct
, typeof(MouseButtonEventHandler), typeof(Control));
536
public static readonly RoutedEvent MouseDoubleClickEvent = EventManager.RegisterRoutedEvent("MouseDoubleClick", RoutingStrategy.
Direct
, typeof(MouseButtonEventHandler), typeof(Control));
System\Windows\Controls\DatePicker.cs (1)
52
public static readonly RoutedEvent SelectedDateChangedEvent = EventManager.RegisterRoutedEvent("SelectedDateChanged", RoutingStrategy.
Direct
, typeof(EventHandler<SelectionChangedEventArgs>), typeof(DatePicker));
System\Windows\Controls\ToolTipService.cs (2)
505
RoutingStrategy.
Direct
,
535
RoutingStrategy.
Direct
,
System\Windows\Controls\VirtualizingStackPanel.cs (1)
1967
public static readonly RoutedEvent CleanUpVirtualizedItemEvent = EventManager.RegisterRoutedEvent("CleanUpVirtualizedItemEvent", RoutingStrategy.
Direct
, typeof(CleanUpVirtualizedItemEventHandler), typeof(VirtualizingStackPanel));
System\Windows\FrameworkElement.cs (3)
3306
public static readonly RoutedEvent SizeChangedEvent = EventManager.RegisterRoutedEvent("SizeChanged", RoutingStrategy.
Direct
, typeof(SizeChangedEventHandler), _typeofThis);
5709
public static readonly RoutedEvent LoadedEvent = EventManager.RegisterRoutedEvent("Loaded", RoutingStrategy.
Direct
, typeof(RoutedEventHandler), _typeofThis);
5775
public static readonly RoutedEvent UnloadedEvent = EventManager.RegisterRoutedEvent("Unloaded", RoutingStrategy.
Direct
, typeof(RoutedEventHandler), _typeofThis);
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (2)
162
RoutingStrategy.
Direct
,
181
RoutingStrategy.
Direct
,