30 references to MouseDownEvent
PresentationCore (17)
Core\CSharp\MS\Internal\SynchronizedInputHelper.cs (2)
49
re == Mouse.
MouseDownEvent
||
280
e = new RoutedEvent[] {Mouse.
MouseDownEvent
};
Core\CSharp\System\Windows\Generated\ContentElement.cs (3)
899
public static readonly RoutedEvent MouseDownEvent = Mouse.
MouseDownEvent
.AddOwner(_typeofThis);
906
add { AddHandler(Mouse.
MouseDownEvent
, value, false); }
907
remove { RemoveHandler(Mouse.
MouseDownEvent
, value); }
Core\CSharp\System\Windows\Generated\UIElement.cs (4)
806
EventManager.RegisterClassHandler(type, Mouse.
MouseDownEvent
, new MouseButtonEventHandler(UIElement.OnMouseDownThunk), true);
3177
public static readonly RoutedEvent MouseDownEvent = Mouse.
MouseDownEvent
.AddOwner(_typeofThis);
3184
add { AddHandler(Mouse.
MouseDownEvent
, value, false); }
3185
remove { RemoveHandler(Mouse.
MouseDownEvent
, value); }
Core\CSharp\System\Windows\Generated\UIElement3D.cs (3)
605
public static readonly RoutedEvent MouseDownEvent = Mouse.
MouseDownEvent
.AddOwner(_typeofThis);
612
add { AddHandler(Mouse.
MouseDownEvent
, value, false); }
613
remove { RemoveHandler(Mouse.
MouseDownEvent
, value); }
Core\CSharp\System\Windows\Input\Mouse.cs (2)
159
UIElement.AddHandler(element,
MouseDownEvent
, handler);
169
UIElement.RemoveHandler(element,
MouseDownEvent
, handler);
Core\CSharp\System\Windows\Input\MouseDevice.cs (1)
1950
down.RoutedEvent=Mouse.
MouseDownEvent
;
Core\CSharp\System\Windows\UIElement.cs (2)
2226
else if(e.RoutedEvent == Mouse.
MouseDownEvent
)
2236
else if(e.RoutedEvent == Mouse.
MouseDownEvent
)
PresentationFramework (13)
src\Framework\MS\Internal\Ink\SelectionEditor.cs (2)
96
InkCanvas.SelectionAdorner.AddHandler(Mouse.
MouseDownEvent
, new MouseButtonEventHandler(OnAdornerMouseButtonDownEvent));
111
InkCanvas.SelectionAdorner.RemoveHandler(Mouse.
MouseDownEvent
, new MouseButtonEventHandler(OnAdornerMouseButtonDownEvent));
src\Framework\System\Windows\Controls\ComboBox.cs (1)
60
EventManager.RegisterClassHandler(typeof(ComboBox), Mouse.
MouseDownEvent
, new MouseButtonEventHandler(OnMouseButtonDown), true); // call us even if the transparent button in the style gets the click.
src\Framework\System\Windows\Controls\InkCanvas.cs (1)
81
EventManager.RegisterClassHandler(ownerType, Mouse.
MouseDownEvent
,
src\Framework\System\Windows\Controls\PopupControlService.cs (1)
149
else if (e.StagingItem.Input.RoutedEvent == Mouse.
MouseDownEvent
)
src\Framework\System\Windows\Controls\Primitives\MenuBase.cs (2)
57
EventManager.RegisterClassHandler(typeof(MenuBase), Mouse.
MouseDownEvent
, new MouseButtonEventHandler(OnMouseButtonDown));
62
EventManager.RegisterClassHandler(typeof(MenuBase), Mouse.
MouseDownEvent
, new MouseButtonEventHandler(OnPromotedMouseButton));
src\Framework\System\Windows\Controls\Slider.cs (1)
78
EventManager.RegisterClassHandler(typeof(Slider), Mouse.
MouseDownEvent
, new MouseButtonEventHandler(Slider._OnMouseLeftButtonDown),true);
src\Framework\System\Windows\Controls\StickyNote.cs (1)
124
EventManager.RegisterClassHandler(owner, Mouse.
MouseDownEvent
, new MouseButtonEventHandler(_OnDeviceDown<MouseButtonEventArgs>));
src\Framework\System\Windows\Controls\ToolBar.cs (1)
82
EventManager.RegisterClassHandler(typeof(ToolBar), Mouse.
MouseDownEvent
, new MouseButtonEventHandler(OnMouseButtonDown), true);
src\Framework\System\Windows\Controls\TreeViewItem.cs (1)
49
EventManager.RegisterClassHandler(typeof(TreeViewItem), Mouse.
MouseDownEvent
, new MouseButtonEventHandler(OnMouseButtonDown), true);
src\Framework\System\windows\Documents\TextEditorMouse.cs (1)
55
EventManager.RegisterClassHandler(controlType, Mouse.
MouseDownEvent
, new MouseButtonEventHandler(OnMouseDown));
src\Framework\System\Windows\Input\KeyboardNavigation.cs (1)
3338
else if (inputEventArgs.RoutedEvent == Mouse.
MouseDownEvent