3 types derived from MouseEventArgs
PresentationCore (3)
System\Windows\Input\MouseButtonEventArgs.cs (1)
10public class MouseButtonEventArgs : MouseEventArgs
System\Windows\Input\MouseWheelEventArgs.cs (1)
10public class MouseWheelEventArgs : MouseEventArgs
System\Windows\Input\QueryCursorEventArgs.cs (1)
10public class QueryCursorEventArgs : MouseEventArgs
5 instantiations of MouseEventArgs
PresentationCore (5)
System\Windows\Input\MouseDevice.cs (4)
1125MouseEventArgs lostCapture = new MouseEventArgs(this, timestamp, _stylusDevice) 1135MouseEventArgs gotCapture = new MouseEventArgs(this, timestamp, _stylusDevice) 1875MouseEventArgs move = new MouseEventArgs(this, previewMove.Timestamp, GetStylusDevice(e.StagingItem)) 2045MouseEventArgs previewMove = new MouseEventArgs(this, rawMouseInputReport.Timestamp, GetStylusDevice(e.StagingItem))
System\Windows\MouseOverProperty.cs (1)
47MouseEventArgs mouseEventArgs = new MouseEventArgs(Mouse.PrimaryDevice, Environment.TickCount, Mouse.PrimaryDevice.StylusDevice)
121 references to MouseEventArgs
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
InlineRename\UI\SmartRename\SmartRenameUserInputComboBox.xaml.cs (1)
104private void SuggestionsPanelScrollViewer_MouseDoubleClick(object sender, MouseEventArgs e)
Microsoft.VisualStudio.LanguageServices (2)
InheritanceMargin\MarginGlyph\InheritanceMarginGlyph.cs (2)
150private void InheritanceMargin_OnMouseEnter(object sender, MouseEventArgs e) 155private void InheritanceMargin_OnMouseLeave(object sender, MouseEventArgs e)
PresentationCore (38)
System\Windows\Generated\ContentElement.cs (6)
1047protected internal virtual void OnPreviewMouseMove(MouseEventArgs e) {} 1066protected internal virtual void OnMouseMove(MouseEventArgs e) {} 1123protected internal virtual void OnMouseEnter(MouseEventArgs e) {} 1142protected internal virtual void OnMouseLeave(MouseEventArgs e) {} 1161protected internal virtual void OnGotMouseCapture(MouseEventArgs e) {} 1180protected internal virtual void OnLostMouseCapture(MouseEventArgs e) {}
System\Windows\Generated\UIElement.cs (12)
1130private static void OnPreviewMouseMoveThunk(object sender, MouseEventArgs e) 1155private static void OnMouseMoveThunk(object sender, MouseEventArgs e) 1235private static void OnMouseEnterThunk(object sender, MouseEventArgs e) 1260private static void OnMouseLeaveThunk(object sender, MouseEventArgs e) 1285private static void OnGotMouseCaptureThunk(object sender, MouseEventArgs e) 1310private static void OnLostMouseCaptureThunk(object sender, MouseEventArgs e) 3000protected virtual void OnPreviewMouseMove(MouseEventArgs e) {} 3019protected virtual void OnMouseMove(MouseEventArgs e) {} 3076protected virtual void OnMouseEnter(MouseEventArgs e) {} 3095protected virtual void OnMouseLeave(MouseEventArgs e) {} 3114protected virtual void OnGotMouseCapture(MouseEventArgs e) {} 3133protected virtual void OnLostMouseCapture(MouseEventArgs e) {}
System\Windows\Generated\UIElement3D.cs (6)
775protected internal virtual void OnPreviewMouseMove(MouseEventArgs e) {} 794protected internal virtual void OnMouseMove(MouseEventArgs e) {} 851protected internal virtual void OnMouseEnter(MouseEventArgs e) {} 870protected internal virtual void OnMouseLeave(MouseEventArgs e) {} 889protected internal virtual void OnGotMouseCapture(MouseEventArgs e) {} 908protected internal virtual void OnLostMouseCapture(MouseEventArgs e) {}
System\Windows\Input\Command\MouseGesture.cs (2)
177MouseEventArgs mouseArgs = inputArgs as MouseEventArgs;
System\Windows\Input\MouseDevice.cs (6)
1125MouseEventArgs lostCapture = new MouseEventArgs(this, timestamp, _stylusDevice) 1135MouseEventArgs gotCapture = new MouseEventArgs(this, timestamp, _stylusDevice) 1874MouseEventArgs previewMove = (MouseEventArgs) e.StagingItem.Input; 1875MouseEventArgs move = new MouseEventArgs(this, previewMove.Timestamp, GetStylusDevice(e.StagingItem)) 2045MouseEventArgs previewMove = new MouseEventArgs(this, rawMouseInputReport.Timestamp, GetStylusDevice(e.StagingItem))
System\Windows\Input\MouseEventHandler.cs (1)
10public delegate void MouseEventHandler(object sender, MouseEventArgs e);
System\Windows\Input\Stylus\Pointer\PointerStylusPlugInManager.cs (2)
539MouseEventArgs mouseEventArgs = e.StagingItem.Input as MouseEventArgs;
System\Windows\Input\Stylus\Wisp\WispLogic.cs (2)
1856MouseEventArgs mouseEventArgs = e.StagingItem.Input as MouseEventArgs;
System\Windows\MouseOverProperty.cs (1)
47MouseEventArgs mouseEventArgs = new MouseEventArgs(Mouse.PrimaryDevice, Environment.TickCount, Mouse.PrimaryDevice.StylusDevice)
PresentationFramework (61)
MS\Internal\Annotations\Component\MarkedHighlightComponent.cs (1)
927private static void OnMouseMove(object sender, MouseEventArgs args)
MS\Internal\Ink\EditingCoordinator.cs (6)
782MouseEventArgs mouseEventArgs = args as MouseEventArgs; 988_inkCanvas.AddHandler(Mouse.MouseMoveEvent, new MouseEventHandler(OnInkCanvasDeviceMove<MouseEventArgs>)); 989_inkCanvas.AddHandler(UIElement.LostMouseCaptureEvent, new MouseEventHandler(OnInkCanvasLostDeviceCapture<MouseEventArgs>)); 1026_inkCanvas.RemoveHandler(Mouse.MouseMoveEvent, new MouseEventHandler(OnInkCanvasDeviceMove<MouseEventArgs>)); 1027_inkCanvas.RemoveHandler(UIElement.LostMouseCaptureEvent, new MouseEventHandler(OnInkCanvasLostDeviceCapture<MouseEventArgs>));
MS\Internal\Ink\SelectionEditingBehavior.cs (2)
124private void OnMouseMove(object sender, MouseEventArgs args) 169private void OnLostMouseCapture(object sender, MouseEventArgs args)
MS\Internal\Ink\SelectionEditor.cs (2)
177private void OnAdornerMouseMoveEvent(object sender, MouseEventArgs args) 188private void OnAdornerMouseLeaveEvent(object sender, MouseEventArgs args)
System\Windows\Controls\ComboBox.cs (2)
1667private static void OnLostMouseCapture(object sender, MouseEventArgs e) 1778private static void OnMouseMove(object sender, MouseEventArgs e)
System\Windows\Controls\ComboBoxItem.cs (1)
124protected override void OnMouseEnter(MouseEventArgs e)
System\Windows\Controls\DataGrid.cs (1)
6204protected override void OnMouseMove(MouseEventArgs e)
System\Windows\Controls\DatePicker.cs (1)
1044private void DropDownButton_MouseLeave(object sender, MouseEventArgs e)
System\Windows\Controls\GridViewColumnHeader.cs (4)
227protected override void OnMouseMove(MouseEventArgs e) 308protected override void OnMouseEnter(MouseEventArgs e) 320protected override void OnMouseLeave(MouseEventArgs e) 879private void OnGripperMouseEnterLeave(object sender, MouseEventArgs e)
System\Windows\Controls\GridViewHeaderRowPresenter.cs (2)
445protected override void OnMouseMove(MouseEventArgs e) 492protected override void OnLostMouseCapture(MouseEventArgs e)
System\Windows\Controls\ListBox.cs (1)
544protected override void OnMouseMove(MouseEventArgs e)
System\Windows\Controls\ListBoxItem.cs (2)
281protected override void OnMouseEnter(MouseEventArgs e) 306protected override void OnMouseLeave(MouseEventArgs e)
System\Windows\Controls\MenuItem.cs (3)
1618protected override void OnMouseLeave(MouseEventArgs e) 1649protected override void OnMouseMove(MouseEventArgs e) 1664protected override void OnMouseEnter(MouseEventArgs e)
System\Windows\Controls\PasswordBox.cs (1)
559protected override void OnMouseMove(MouseEventArgs e)
System\Windows\Controls\Primitives\ButtonBase.cs (4)
504protected override void OnMouseMove(MouseEventArgs e) 520protected override void OnLostMouseCapture(MouseEventArgs e) 541protected override void OnMouseEnter(MouseEventArgs e) 554protected override void OnMouseLeave(MouseEventArgs e)
System\Windows\Controls\Primitives\CalendarItem.cs (3)
275protected override void OnLostMouseCapture(MouseEventArgs e) 749private void Cell_MouseEnter(object sender, MouseEventArgs e) 889private void Month_MouseEnter(object sender, MouseEventArgs e)
System\Windows\Controls\Primitives\DataGridColumnHeader.cs (2)
959protected override void OnMouseMove(MouseEventArgs e) 988protected override void OnLostMouseCapture(MouseEventArgs e)
System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (2)
527internal void OnHeaderMouseMove(MouseEventArgs e) 591internal void OnHeaderLostMouseCapture(MouseEventArgs e)
System\Windows\Controls\Primitives\MenuBase.cs (2)
199protected override void OnMouseLeave(MouseEventArgs e) 526private static void OnLostMouseCapture(object sender, MouseEventArgs e)
System\Windows\Controls\Primitives\Popup.cs (1)
1210private static void OnLostMouseCapture(object sender, MouseEventArgs e)
System\Windows\Controls\Primitives\RepeatButton.cs (3)
237protected override void OnLostMouseCapture(MouseEventArgs e) 247protected override void OnMouseEnter(MouseEventArgs e) 260protected override void OnMouseLeave(MouseEventArgs e)
System\Windows\Controls\Primitives\TextBoxBase.cs (1)
1142protected override void OnMouseMove(MouseEventArgs e)
System\Windows\Controls\Primitives\Thumb.cs (2)
268private static void OnLostMouseCapture(object sender, MouseEventArgs e) 282protected override void OnMouseMove(MouseEventArgs e)
System\Windows\Controls\ToolBar.cs (1)
562protected override void OnLostMouseCapture(MouseEventArgs e)
System\Windows\Documents\Hyperlink.cs (2)
1051private static void OnMouseEnter(object sender, MouseEventArgs e) 1059private static void OnMouseLeave(object sender, MouseEventArgs e)
System\Windows\Documents\ImmComposition.cs (1)
1601private void OnMouseEvent(object sender, MouseEventArgs e)
System\Windows\Documents\RubberbandSelector.cs (1)
533private void OnMouseMove(object sender, MouseEventArgs e)
System\windows\Documents\TextEditor.cs (1)
685internal void OnMouseMove(MouseEventArgs e)
System\windows\Documents\TextEditorMouse.cs (3)
266internal static void OnMouseMove(object sender, MouseEventArgs e) 427private static void OnMouseMoveWithoutFocus(TextEditor This, MouseEventArgs e) 434private static void OnMouseMoveWithFocus(TextEditor This, MouseEventArgs e)
System\windows\Documents\TextEditorTyping.cs (2)
1842private static void OnMouseMove(object sender, MouseEventArgs e) 1852private static void OnMouseLeave(object sender, MouseEventArgs e)
System\Windows\Documents\TextStore.cs (1)
2961private void OnMouseEvent(object sender, MouseEventArgs e)
System.Windows.Controls.Ribbon (19)
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (2)
1750private static void OnLostMouseCaptureThunk(object sender, MouseEventArgs e) 1756private void OnLostMouseCaptureThunk(MouseEventArgs e)
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (4)
2621protected override void OnMouseEnter(MouseEventArgs e) 2633protected override void OnMouseLeave(MouseEventArgs e) 2643private static void OnMouseMove(object sender, MouseEventArgs e) 2649internal bool DidMouseMove(MouseEventArgs e)
Microsoft\Windows\Controls\Ribbon\RibbonGalleryItem.cs (2)
344protected override void OnMouseLeave(MouseEventArgs e) 369protected override void OnMouseMove(MouseEventArgs e)
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (4)
175protected override void OnMouseEnter(MouseEventArgs e) 187protected override void OnMouseLeave(MouseEventArgs e) 1387private static void OnLostMouseCaptureThunk(object sender, MouseEventArgs e) 1393private void OnLostMouseCaptureThunk(MouseEventArgs e)
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (1)
1013MouseEventArgs e,
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (2)
1400private static void OnLostMouseCaptureThunk(object sender, MouseEventArgs e) 1406private void OnLostMouseCaptureThunk(MouseEventArgs e)
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (2)
691protected override void OnMouseEnter(System.Windows.Input.MouseEventArgs e) 708protected override void OnMouseLeave(System.Windows.Input.MouseEventArgs e)
Microsoft\Windows\Controls\Ribbon\RibbonQuickAccessToolBar.cs (2)
358private static void OnLostMouseCaptureThunk(object sender, MouseEventArgs e) 364private void OnLostMouseCaptureThunk(MouseEventArgs e)