3 types derived from MouseEventArgs
PresentationCore (3)
System\Windows\Input\MouseButtonEventArgs.cs (1)
13public class MouseButtonEventArgs : MouseEventArgs
System\Windows\Input\MouseWheelEventArgs.cs (1)
13public class MouseWheelEventArgs : MouseEventArgs
System\Windows\Input\QueryCursorEventArgs.cs (1)
12public class QueryCursorEventArgs : MouseEventArgs
5 instantiations of MouseEventArgs
PresentationCore (5)
System\Windows\Input\MouseDevice.cs (4)
1158MouseEventArgs lostCapture = new MouseEventArgs(this, timestamp, _stylusDevice); 1166MouseEventArgs gotCapture = new MouseEventArgs(this, timestamp, _stylusDevice); 1889MouseEventArgs move = new MouseEventArgs(this, previewMove.Timestamp, GetStylusDevice(e.StagingItem)); 2046MouseEventArgs previewMove = new MouseEventArgs(this, rawMouseInputReport.Timestamp, GetStylusDevice(e.StagingItem));
System\Windows\MouseOverProperty.cs (1)
49MouseEventArgs mouseEventArgs = new MouseEventArgs(Mouse.PrimaryDevice, Environment.TickCount, Mouse.PrimaryDevice.StylusDevice);
118 references to MouseEventArgs
PresentationCore (38)
System\Windows\Generated\ContentElement.cs (6)
1064protected internal virtual void OnPreviewMouseMove(MouseEventArgs e) {} 1083protected internal virtual void OnMouseMove(MouseEventArgs e) {} 1140protected internal virtual void OnMouseEnter(MouseEventArgs e) {} 1159protected internal virtual void OnMouseLeave(MouseEventArgs e) {} 1178protected internal virtual void OnGotMouseCapture(MouseEventArgs e) {} 1197protected internal virtual void OnLostMouseCapture(MouseEventArgs e) {}
System\Windows\Generated\UIElement.cs (12)
1147private static void OnPreviewMouseMoveThunk(object sender, MouseEventArgs e) 1172private static void OnMouseMoveThunk(object sender, MouseEventArgs e) 1252private static void OnMouseEnterThunk(object sender, MouseEventArgs e) 1277private static void OnMouseLeaveThunk(object sender, MouseEventArgs e) 1302private static void OnGotMouseCaptureThunk(object sender, MouseEventArgs e) 1327private static void OnLostMouseCaptureThunk(object sender, MouseEventArgs e) 3017protected virtual void OnPreviewMouseMove(MouseEventArgs e) {} 3036protected virtual void OnMouseMove(MouseEventArgs e) {} 3093protected virtual void OnMouseEnter(MouseEventArgs e) {} 3112protected virtual void OnMouseLeave(MouseEventArgs e) {} 3131protected virtual void OnGotMouseCapture(MouseEventArgs e) {} 3150protected virtual void OnLostMouseCapture(MouseEventArgs e) {}
System\Windows\Generated\UIElement3D.cs (6)
785protected internal virtual void OnPreviewMouseMove(MouseEventArgs e) {} 804protected internal virtual void OnMouseMove(MouseEventArgs e) {} 861protected internal virtual void OnMouseEnter(MouseEventArgs e) {} 880protected internal virtual void OnMouseLeave(MouseEventArgs e) {} 899protected internal virtual void OnGotMouseCapture(MouseEventArgs e) {} 918protected internal virtual void OnLostMouseCapture(MouseEventArgs e) {}
System\Windows\Input\Command\MouseGesture.cs (2)
180MouseEventArgs mouseArgs = inputArgs as MouseEventArgs;
System\Windows\Input\MouseDevice.cs (6)
1158MouseEventArgs lostCapture = new MouseEventArgs(this, timestamp, _stylusDevice); 1166MouseEventArgs gotCapture = new MouseEventArgs(this, timestamp, _stylusDevice); 1888MouseEventArgs previewMove = (MouseEventArgs) e.StagingItem.Input; 1889MouseEventArgs move = new MouseEventArgs(this, previewMove.Timestamp, GetStylusDevice(e.StagingItem)); 2046MouseEventArgs previewMove = new MouseEventArgs(this, rawMouseInputReport.Timestamp, GetStylusDevice(e.StagingItem));
System\Windows\Input\MouseEventHandler.cs (1)
13public delegate void MouseEventHandler(object sender, MouseEventArgs e);
System\Windows\Input\Stylus\Pointer\PointerStylusPlugInManager.cs (2)
551MouseEventArgs mouseEventArgs = e.StagingItem.Input as MouseEventArgs;
System\Windows\Input\Stylus\Wisp\WispLogic.cs (2)
1852MouseEventArgs mouseEventArgs = e.StagingItem.Input as MouseEventArgs;
System\Windows\MouseOverProperty.cs (1)
49MouseEventArgs mouseEventArgs = new MouseEventArgs(Mouse.PrimaryDevice, Environment.TickCount, Mouse.PrimaryDevice.StylusDevice);
PresentationFramework (61)
MS\Internal\Annotations\Component\MarkedHighlightComponent.cs (1)
929private static void OnMouseMove(object sender, MouseEventArgs args)
MS\Internal\Ink\EditingCoordinator.cs (6)
800MouseEventArgs mouseEventArgs = args as MouseEventArgs; 1012_inkCanvas.AddHandler(Mouse.MouseMoveEvent, new MouseEventHandler(OnInkCanvasDeviceMove<MouseEventArgs>)); 1013_inkCanvas.AddHandler(UIElement.LostMouseCaptureEvent, new MouseEventHandler(OnInkCanvasLostDeviceCapture<MouseEventArgs>)); 1050_inkCanvas.RemoveHandler(Mouse.MouseMoveEvent, new MouseEventHandler(OnInkCanvasDeviceMove<MouseEventArgs>)); 1051_inkCanvas.RemoveHandler(UIElement.LostMouseCaptureEvent, new MouseEventHandler(OnInkCanvasLostDeviceCapture<MouseEventArgs>));
MS\Internal\Ink\SelectionEditingBehavior.cs (2)
137private void OnMouseMove(object sender, MouseEventArgs args) 182private void OnLostMouseCapture(object sender, MouseEventArgs args)
MS\Internal\Ink\SelectionEditor.cs (2)
192private void OnAdornerMouseMoveEvent(object sender, MouseEventArgs args) 203private void OnAdornerMouseLeaveEvent(object sender, MouseEventArgs args)
System\Windows\Controls\ComboBox.cs (2)
1679private static void OnLostMouseCapture(object sender, MouseEventArgs e) 1790private static void OnMouseMove(object sender, MouseEventArgs e)
System\Windows\Controls\ComboBoxItem.cs (1)
141protected override void OnMouseEnter(MouseEventArgs e)
System\Windows\Controls\DataGrid.cs (1)
6248protected override void OnMouseMove(MouseEventArgs e)
System\Windows\Controls\DatePicker.cs (1)
1051private void DropDownButton_MouseLeave(object sender, MouseEventArgs e)
System\Windows\Controls\GridViewColumnHeader.cs (4)
231protected override void OnMouseMove(MouseEventArgs e) 312protected override void OnMouseEnter(MouseEventArgs e) 324protected override void OnMouseLeave(MouseEventArgs e) 892private void OnGripperMouseEnterLeave(object sender, MouseEventArgs e)
System\Windows\Controls\GridViewHeaderRowPresenter.cs (2)
448protected override void OnMouseMove(MouseEventArgs e) 495protected override void OnLostMouseCapture(MouseEventArgs e)
System\Windows\Controls\ListBox.cs (1)
551protected override void OnMouseMove(MouseEventArgs e)
System\Windows\Controls\ListBoxItem.cs (2)
294protected override void OnMouseEnter(MouseEventArgs e) 319protected override void OnMouseLeave(MouseEventArgs e)
System\Windows\Controls\MenuItem.cs (3)
1632protected override void OnMouseLeave(MouseEventArgs e) 1663protected override void OnMouseMove(MouseEventArgs e) 1678protected override void OnMouseEnter(MouseEventArgs e)
System\Windows\Controls\PasswordBox.cs (1)
574protected override void OnMouseMove(MouseEventArgs e)
System\Windows\Controls\Primitives\ButtonBase.cs (4)
515protected override void OnMouseMove(MouseEventArgs e) 531protected override void OnLostMouseCapture(MouseEventArgs e) 552protected override void OnMouseEnter(MouseEventArgs e) 565protected override void OnMouseLeave(MouseEventArgs e)
System\Windows\Controls\Primitives\CalendarItem.cs (3)
280protected override void OnLostMouseCapture(MouseEventArgs e) 754private void Cell_MouseEnter(object sender, MouseEventArgs e) 897private void Month_MouseEnter(object sender, MouseEventArgs e)
System\Windows\Controls\Primitives\DataGridColumnHeader.cs (2)
979protected override void OnMouseMove(MouseEventArgs e) 1008protected override void OnLostMouseCapture(MouseEventArgs e)
System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (2)
538internal void OnHeaderMouseMove(MouseEventArgs e) 602internal void OnHeaderLostMouseCapture(MouseEventArgs e)
System\Windows\Controls\Primitives\MenuBase.cs (2)
208protected override void OnMouseLeave(MouseEventArgs e) 535private static void OnLostMouseCapture(object sender, MouseEventArgs e)
System\Windows\Controls\Primitives\Popup.cs (1)
1206private static void OnLostMouseCapture(object sender, MouseEventArgs e)
System\Windows\Controls\Primitives\RepeatButton.cs (3)
250protected override void OnLostMouseCapture(MouseEventArgs e) 260protected override void OnMouseEnter(MouseEventArgs e) 273protected override void OnMouseLeave(MouseEventArgs e)
System\Windows\Controls\Primitives\TextBoxBase.cs (1)
1164protected override void OnMouseMove(MouseEventArgs e)
System\Windows\Controls\Primitives\Thumb.cs (2)
282private static void OnLostMouseCapture(object sender, MouseEventArgs e) 296protected override void OnMouseMove(MouseEventArgs e)
System\Windows\Controls\ToolBar.cs (1)
577protected override void OnLostMouseCapture(MouseEventArgs e)
System\Windows\Documents\Hyperlink.cs (2)
1056private static void OnMouseEnter(object sender, MouseEventArgs e) 1064private static void OnMouseLeave(object sender, MouseEventArgs e)
System\Windows\Documents\ImmComposition.cs (1)
1622private void OnMouseEvent(object sender, MouseEventArgs e)
System\Windows\Documents\RubberbandSelector.cs (1)
544private void OnMouseMove(object sender, MouseEventArgs e)
System\windows\Documents\TextEditor.cs (1)
697internal void OnMouseMove(MouseEventArgs e)
System\windows\Documents\TextEditorMouse.cs (3)
283internal static void OnMouseMove(object sender, MouseEventArgs e) 444private static void OnMouseMoveWithoutFocus(TextEditor This, MouseEventArgs e) 451private static void OnMouseMoveWithFocus(TextEditor This, MouseEventArgs e)
System\windows\Documents\TextEditorTyping.cs (2)
1863private static void OnMouseMove(object sender, MouseEventArgs e) 1873private static void OnMouseLeave(object sender, MouseEventArgs e)
System\Windows\Documents\TextStore.cs (1)
2985private void OnMouseEvent(object sender, MouseEventArgs e)
System.Windows.Controls.Ribbon (19)
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (2)
1778private static void OnLostMouseCaptureThunk(object sender, MouseEventArgs e) 1784private void OnLostMouseCaptureThunk(MouseEventArgs e)
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (4)
2622protected override void OnMouseEnter(MouseEventArgs e) 2634protected override void OnMouseLeave(MouseEventArgs e) 2644private static void OnMouseMove(object sender, MouseEventArgs e) 2650internal bool DidMouseMove(MouseEventArgs e)
Microsoft\Windows\Controls\Ribbon\RibbonGalleryItem.cs (2)
346protected override void OnMouseLeave(MouseEventArgs e) 371protected override void OnMouseMove(MouseEventArgs e)
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (4)
178protected override void OnMouseEnter(MouseEventArgs e) 190protected override void OnMouseLeave(MouseEventArgs e) 1399private static void OnLostMouseCaptureThunk(object sender, MouseEventArgs e) 1405private void OnLostMouseCaptureThunk(MouseEventArgs e)
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (1)
1020MouseEventArgs e,
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (2)
1409private static void OnLostMouseCaptureThunk(object sender, MouseEventArgs e) 1415private void OnLostMouseCaptureThunk(MouseEventArgs e)
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (2)
694protected override void OnMouseEnter(System.Windows.Input.MouseEventArgs e) 711protected override void OnMouseLeave(System.Windows.Input.MouseEventArgs e)
Microsoft\Windows\Controls\Ribbon\RibbonQuickAccessToolBar.cs (2)
375private static void OnLostMouseCaptureThunk(object sender, MouseEventArgs e) 381private void OnLostMouseCaptureThunk(MouseEventArgs e)