33 references to MouseDownEvent
PresentationCore (17)
MS\Internal\SynchronizedInputHelper.cs (2)
53
re == Mouse.
MouseDownEvent
||
284
e = new RoutedEvent[] {Mouse.
MouseDownEvent
};
System\Windows\Generated\ContentElement.cs (3)
839
public static readonly RoutedEvent MouseDownEvent = Mouse.
MouseDownEvent
.AddOwner(_typeofThis);
846
add { AddHandler(Mouse.
MouseDownEvent
, value, false); }
847
remove { RemoveHandler(Mouse.
MouseDownEvent
, value); }
System\Windows\Generated\UIElement.cs (4)
741
EventManager.RegisterClassHandler(type, Mouse.
MouseDownEvent
, new MouseButtonEventHandler(UIElement.OnMouseDownThunk), true);
2792
public static readonly RoutedEvent MouseDownEvent = Mouse.
MouseDownEvent
.AddOwner(_typeofThis);
2799
add { AddHandler(Mouse.
MouseDownEvent
, value, false); }
2800
remove { RemoveHandler(Mouse.
MouseDownEvent
, value); }
System\Windows\Generated\UIElement3D.cs (3)
560
public static readonly RoutedEvent MouseDownEvent = Mouse.
MouseDownEvent
.AddOwner(_typeofThis);
567
add { AddHandler(Mouse.
MouseDownEvent
, value, false); }
568
remove { RemoveHandler(Mouse.
MouseDownEvent
, value); }
System\Windows\Input\Mouse.cs (2)
162
UIElement.AddHandler(element,
MouseDownEvent
, handler);
172
UIElement.RemoveHandler(element,
MouseDownEvent
, handler);
System\Windows\Input\MouseDevice.cs (1)
1843
down.RoutedEvent=Mouse.
MouseDownEvent
;
System\Windows\UIElement.cs (2)
2198
else if(e.RoutedEvent == Mouse.
MouseDownEvent
)
2208
else if(e.RoutedEvent == Mouse.
MouseDownEvent
)
PresentationFramework (13)
MS\Internal\Ink\SelectionEditor.cs (2)
90
InkCanvas.SelectionAdorner.AddHandler(Mouse.
MouseDownEvent
, new MouseButtonEventHandler(OnAdornerMouseButtonDownEvent));
105
InkCanvas.SelectionAdorner.RemoveHandler(Mouse.
MouseDownEvent
, new MouseButtonEventHandler(OnAdornerMouseButtonDownEvent));
System\Windows\Controls\ComboBox.cs (1)
59
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)
70
EventManager.RegisterClassHandler(ownerType, Mouse.
MouseDownEvent
,
System\Windows\Controls\PopupControlService.cs (1)
128
else if (e.StagingItem.Input.RoutedEvent == Mouse.
MouseDownEvent
)
System\Windows\Controls\Primitives\MenuBase.cs (2)
55
EventManager.RegisterClassHandler(typeof(MenuBase), Mouse.
MouseDownEvent
, new MouseButtonEventHandler(OnMouseButtonDown));
60
EventManager.RegisterClassHandler(typeof(MenuBase), Mouse.
MouseDownEvent
, new MouseButtonEventHandler(OnPromotedMouseButton));
System\Windows\Controls\Slider.cs (1)
77
EventManager.RegisterClassHandler(typeof(Slider), Mouse.
MouseDownEvent
, new MouseButtonEventHandler(Slider._OnMouseLeftButtonDown),true);
System\Windows\Controls\StickyNote.cs (1)
114
EventManager.RegisterClassHandler(owner, Mouse.
MouseDownEvent
, new MouseButtonEventHandler(_OnDeviceDown<MouseButtonEventArgs>));
System\Windows\Controls\ToolBar.cs (1)
81
EventManager.RegisterClassHandler(typeof(ToolBar), Mouse.
MouseDownEvent
, new MouseButtonEventHandler(OnMouseButtonDown), true);
System\Windows\Controls\TreeViewItem.cs (1)
48
EventManager.RegisterClassHandler(typeof(TreeViewItem), Mouse.
MouseDownEvent
, new MouseButtonEventHandler(OnMouseButtonDown), true);
System\windows\Documents\TextEditorMouse.cs (1)
53
EventManager.RegisterClassHandler(controlType, Mouse.
MouseDownEvent
, new MouseButtonEventHandler(OnMouseDown));
System\Windows\Input\KeyboardNavigation.cs (1)
3245
else if (inputEventArgs.RoutedEvent == Mouse.
MouseDownEvent
System.Windows.Controls.Ribbon (3)
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (1)
80
EventManager.RegisterClassHandler(ownerType, Mouse.
MouseDownEvent
, new MouseButtonEventHandler(OnMouseDownThunk), true);
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (1)
72
EventManager.RegisterClassHandler(ownerType, Mouse.
MouseDownEvent
, new MouseButtonEventHandler(OnMouseDownThunk), true);
Microsoft\Windows\Controls\Ribbon\RibbonQuickAccessToolBar.cs (1)
120
EventManager.RegisterClassHandler(ownerType, Mouse.
MouseDownEvent
, new MouseButtonEventHandler(OnMouseDownThunk), true);