33 references to MouseDownEvent
PresentationCore (17)
MS\Internal\SynchronizedInputHelper.cs (2)
48
re == Mouse.
MouseDownEvent
||
276
e = new RoutedEvent[] {Mouse.
MouseDownEvent
};
System\Windows\Generated\ContentElement.cs (3)
823
public static readonly RoutedEvent MouseDownEvent = Mouse.
MouseDownEvent
.AddOwner(_typeofThis);
830
add { AddHandler(Mouse.
MouseDownEvent
, value, false); }
831
remove { RemoveHandler(Mouse.
MouseDownEvent
, value); }
System\Windows\Generated\UIElement.cs (4)
725
EventManager.RegisterClassHandler(type, Mouse.
MouseDownEvent
, new MouseButtonEventHandler(UIElement.OnMouseDownThunk), true);
2776
public static readonly RoutedEvent MouseDownEvent = Mouse.
MouseDownEvent
.AddOwner(_typeofThis);
2783
add { AddHandler(Mouse.
MouseDownEvent
, value, false); }
2784
remove { RemoveHandler(Mouse.
MouseDownEvent
, value); }
System\Windows\Generated\UIElement3D.cs (3)
553
public static readonly RoutedEvent MouseDownEvent = Mouse.
MouseDownEvent
.AddOwner(_typeofThis);
560
add { AddHandler(Mouse.
MouseDownEvent
, value, false); }
561
remove { RemoveHandler(Mouse.
MouseDownEvent
, value); }
System\Windows\Input\Mouse.cs (2)
153
UIElement.AddHandler(element,
MouseDownEvent
, handler);
163
UIElement.RemoveHandler(element,
MouseDownEvent
, handler);
System\Windows\Input\MouseDevice.cs (1)
1848
RoutedEvent = Mouse.
MouseDownEvent
System\Windows\UIElement.cs (2)
2184
else if(e.RoutedEvent == Mouse.
MouseDownEvent
)
2194
else if(e.RoutedEvent == Mouse.
MouseDownEvent
)
PresentationFramework (13)
MS\Internal\Ink\SelectionEditor.cs (2)
74
InkCanvas.SelectionAdorner.AddHandler(Mouse.
MouseDownEvent
, new MouseButtonEventHandler(OnAdornerMouseButtonDownEvent));
89
InkCanvas.SelectionAdorner.RemoveHandler(Mouse.
MouseDownEvent
, new MouseButtonEventHandler(OnAdornerMouseButtonDownEvent));
System\Windows\Controls\ComboBox.cs (1)
48
EventManager.RegisterClassHandler(typeof(ComboBox), Mouse.
MouseDownEvent
, new MouseButtonEventHandler(OnMouseButtonDown), true); // call us even if the transparent button in the style gets the click.
System\Windows\Controls\InkCanvas.cs (1)
57
EventManager.RegisterClassHandler(ownerType, Mouse.
MouseDownEvent
,
System\Windows\Controls\PopupControlService.cs (1)
117
else if (e.StagingItem.Input.RoutedEvent == Mouse.
MouseDownEvent
)
System\Windows\Controls\Primitives\MenuBase.cs (2)
45
EventManager.RegisterClassHandler(typeof(MenuBase), Mouse.
MouseDownEvent
, new MouseButtonEventHandler(OnMouseButtonDown));
50
EventManager.RegisterClassHandler(typeof(MenuBase), Mouse.
MouseDownEvent
, new MouseButtonEventHandler(OnPromotedMouseButton));
System\Windows\Controls\Slider.cs (1)
65
EventManager.RegisterClassHandler(typeof(Slider), Mouse.
MouseDownEvent
, new MouseButtonEventHandler(Slider._OnMouseLeftButtonDown),true);
System\Windows\Controls\StickyNote.cs (1)
86
EventManager.RegisterClassHandler(owner, Mouse.
MouseDownEvent
, new MouseButtonEventHandler(_OnDeviceDown<MouseButtonEventArgs>));
System\Windows\Controls\ToolBar.cs (1)
71
EventManager.RegisterClassHandler(typeof(ToolBar), Mouse.
MouseDownEvent
, new MouseButtonEventHandler(OnMouseButtonDown), true);
System\Windows\Controls\TreeViewItem.cs (1)
43
EventManager.RegisterClassHandler(typeof(TreeViewItem), Mouse.
MouseDownEvent
, new MouseButtonEventHandler(OnMouseButtonDown), true);
System\windows\Documents\TextEditorMouse.cs (1)
38
EventManager.RegisterClassHandler(controlType, Mouse.
MouseDownEvent
, new MouseButtonEventHandler(OnMouseDown));
System\Windows\Input\KeyboardNavigation.cs (1)
3229
else if (inputEventArgs.RoutedEvent == Mouse.
MouseDownEvent
System.Windows.Controls.Ribbon (3)
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (1)
76
EventManager.RegisterClassHandler(ownerType, Mouse.
MouseDownEvent
, new MouseButtonEventHandler(OnMouseDownThunk), true);
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (1)
68
EventManager.RegisterClassHandler(ownerType, Mouse.
MouseDownEvent
, new MouseButtonEventHandler(OnMouseDownThunk), true);
Microsoft\Windows\Controls\Ribbon\RibbonQuickAccessToolBar.cs (1)
114
EventManager.RegisterClassHandler(ownerType, Mouse.
MouseDownEvent
, new MouseButtonEventHandler(OnMouseDownThunk), true);