33 references to MouseDownEvent
PresentationCore (17)
MS\Internal\SynchronizedInputHelper.cs (2)
49
re == Mouse.
MouseDownEvent
||
280
e = new RoutedEvent[] {Mouse.
MouseDownEvent
};
System\Windows\Generated\ContentElement.cs (3)
835
public static readonly RoutedEvent MouseDownEvent = Mouse.
MouseDownEvent
.AddOwner(_typeofThis);
842
add { AddHandler(Mouse.
MouseDownEvent
, value, false); }
843
remove { RemoveHandler(Mouse.
MouseDownEvent
, value); }
System\Windows\Generated\UIElement.cs (4)
737
EventManager.RegisterClassHandler(type, Mouse.
MouseDownEvent
, new MouseButtonEventHandler(UIElement.OnMouseDownThunk), true);
2788
public static readonly RoutedEvent MouseDownEvent = Mouse.
MouseDownEvent
.AddOwner(_typeofThis);
2795
add { AddHandler(Mouse.
MouseDownEvent
, value, false); }
2796
remove { RemoveHandler(Mouse.
MouseDownEvent
, value); }
System\Windows\Generated\UIElement3D.cs (3)
554
public static readonly RoutedEvent MouseDownEvent = Mouse.
MouseDownEvent
.AddOwner(_typeofThis);
561
add { AddHandler(Mouse.
MouseDownEvent
, value, false); }
562
remove { RemoveHandler(Mouse.
MouseDownEvent
, value); }
System\Windows\Input\Mouse.cs (2)
154
UIElement.AddHandler(element,
MouseDownEvent
, handler);
164
UIElement.RemoveHandler(element,
MouseDownEvent
, handler);
System\Windows\Input\MouseDevice.cs (1)
1834
down.RoutedEvent=Mouse.
MouseDownEvent
;
System\Windows\UIElement.cs (2)
2193
else if(e.RoutedEvent == Mouse.
MouseDownEvent
)
2203
else if(e.RoutedEvent == Mouse.
MouseDownEvent
)
PresentationFramework (13)
MS\Internal\Ink\SelectionEditor.cs (2)
75
InkCanvas.SelectionAdorner.AddHandler(Mouse.
MouseDownEvent
, new MouseButtonEventHandler(OnAdornerMouseButtonDownEvent));
90
InkCanvas.SelectionAdorner.RemoveHandler(Mouse.
MouseDownEvent
, new MouseButtonEventHandler(OnAdornerMouseButtonDownEvent));
System\Windows\Controls\ComboBox.cs (1)
49
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)
58
EventManager.RegisterClassHandler(ownerType, Mouse.
MouseDownEvent
,
System\Windows\Controls\PopupControlService.cs (1)
118
else if (e.StagingItem.Input.RoutedEvent == Mouse.
MouseDownEvent
)
System\Windows\Controls\Primitives\MenuBase.cs (2)
46
EventManager.RegisterClassHandler(typeof(MenuBase), Mouse.
MouseDownEvent
, new MouseButtonEventHandler(OnMouseButtonDown));
51
EventManager.RegisterClassHandler(typeof(MenuBase), Mouse.
MouseDownEvent
, new MouseButtonEventHandler(OnPromotedMouseButton));
System\Windows\Controls\Slider.cs (1)
66
EventManager.RegisterClassHandler(typeof(Slider), Mouse.
MouseDownEvent
, new MouseButtonEventHandler(Slider._OnMouseLeftButtonDown),true);
System\Windows\Controls\StickyNote.cs (1)
98
EventManager.RegisterClassHandler(owner, Mouse.
MouseDownEvent
, new MouseButtonEventHandler(_OnDeviceDown<MouseButtonEventArgs>));
System\Windows\Controls\ToolBar.cs (1)
72
EventManager.RegisterClassHandler(typeof(ToolBar), Mouse.
MouseDownEvent
, new MouseButtonEventHandler(OnMouseButtonDown), true);
System\Windows\Controls\TreeViewItem.cs (1)
44
EventManager.RegisterClassHandler(typeof(TreeViewItem), Mouse.
MouseDownEvent
, new MouseButtonEventHandler(OnMouseButtonDown), true);
System\windows\Documents\TextEditorMouse.cs (1)
39
EventManager.RegisterClassHandler(controlType, Mouse.
MouseDownEvent
, new MouseButtonEventHandler(OnMouseDown));
System\Windows\Input\KeyboardNavigation.cs (1)
3235
else if (inputEventArgs.RoutedEvent == Mouse.
MouseDownEvent
System.Windows.Controls.Ribbon (3)
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (1)
77
EventManager.RegisterClassHandler(ownerType, Mouse.
MouseDownEvent
, new MouseButtonEventHandler(OnMouseDownThunk), true);
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (1)
69
EventManager.RegisterClassHandler(ownerType, Mouse.
MouseDownEvent
, new MouseButtonEventHandler(OnMouseDownThunk), true);
Microsoft\Windows\Controls\Ribbon\RibbonQuickAccessToolBar.cs (1)
115
EventManager.RegisterClassHandler(ownerType, Mouse.
MouseDownEvent
, new MouseButtonEventHandler(OnMouseDownThunk), true);