3 types derived from MouseEventArgs
PresentationCore (3)
System\Windows\Input\MouseButtonEventArgs.cs (1)
9public class MouseButtonEventArgs : MouseEventArgs
System\Windows\Input\MouseWheelEventArgs.cs (1)
9public class MouseWheelEventArgs : MouseEventArgs
System\Windows\Input\QueryCursorEventArgs.cs (1)
9public class QueryCursorEventArgs : MouseEventArgs
5 instantiations of MouseEventArgs
PresentationCore (5)
System\Windows\Input\MouseDevice.cs (4)
1124MouseEventArgs lostCapture = new MouseEventArgs(this, timestamp, _stylusDevice) 1134MouseEventArgs gotCapture = new MouseEventArgs(this, timestamp, _stylusDevice) 1874MouseEventArgs move = new MouseEventArgs(this, previewMove.Timestamp, GetStylusDevice(e.StagingItem)) 2044MouseEventArgs previewMove = new MouseEventArgs(this, rawMouseInputReport.Timestamp, GetStylusDevice(e.StagingItem))
System\Windows\MouseOverProperty.cs (1)
46MouseEventArgs 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)
1046protected internal virtual void OnPreviewMouseMove(MouseEventArgs e) {} 1065protected internal virtual void OnMouseMove(MouseEventArgs e) {} 1122protected internal virtual void OnMouseEnter(MouseEventArgs e) {} 1141protected internal virtual void OnMouseLeave(MouseEventArgs e) {} 1160protected internal virtual void OnGotMouseCapture(MouseEventArgs e) {} 1179protected internal virtual void OnLostMouseCapture(MouseEventArgs e) {}
System\Windows\Generated\UIElement.cs (12)
1129private static void OnPreviewMouseMoveThunk(object sender, MouseEventArgs e) 1154private static void OnMouseMoveThunk(object sender, MouseEventArgs e) 1234private static void OnMouseEnterThunk(object sender, MouseEventArgs e) 1259private static void OnMouseLeaveThunk(object sender, MouseEventArgs e) 1284private static void OnGotMouseCaptureThunk(object sender, MouseEventArgs e) 1309private static void OnLostMouseCaptureThunk(object sender, MouseEventArgs e) 2999protected virtual void OnPreviewMouseMove(MouseEventArgs e) {} 3018protected virtual void OnMouseMove(MouseEventArgs e) {} 3075protected virtual void OnMouseEnter(MouseEventArgs e) {} 3094protected virtual void OnMouseLeave(MouseEventArgs e) {} 3113protected virtual void OnGotMouseCapture(MouseEventArgs e) {} 3132protected virtual void OnLostMouseCapture(MouseEventArgs e) {}
System\Windows\Generated\UIElement3D.cs (6)
776protected internal virtual void OnPreviewMouseMove(MouseEventArgs e) {} 795protected internal virtual void OnMouseMove(MouseEventArgs e) {} 852protected internal virtual void OnMouseEnter(MouseEventArgs e) {} 871protected internal virtual void OnMouseLeave(MouseEventArgs e) {} 890protected internal virtual void OnGotMouseCapture(MouseEventArgs e) {} 909protected internal virtual void OnLostMouseCapture(MouseEventArgs e) {}
System\Windows\Input\Command\MouseGesture.cs (2)
176MouseEventArgs mouseArgs = inputArgs as MouseEventArgs;
System\Windows\Input\MouseDevice.cs (6)
1124MouseEventArgs lostCapture = new MouseEventArgs(this, timestamp, _stylusDevice) 1134MouseEventArgs gotCapture = new MouseEventArgs(this, timestamp, _stylusDevice) 1873MouseEventArgs previewMove = (MouseEventArgs) e.StagingItem.Input; 1874MouseEventArgs move = new MouseEventArgs(this, previewMove.Timestamp, GetStylusDevice(e.StagingItem)) 2044MouseEventArgs previewMove = new MouseEventArgs(this, rawMouseInputReport.Timestamp, GetStylusDevice(e.StagingItem))
System\Windows\Input\MouseEventHandler.cs (1)
9public delegate void MouseEventHandler(object sender, MouseEventArgs e);
System\Windows\Input\Stylus\Pointer\PointerStylusPlugInManager.cs (2)
538MouseEventArgs mouseEventArgs = e.StagingItem.Input as MouseEventArgs;
System\Windows\Input\Stylus\Wisp\WispLogic.cs (2)
1855MouseEventArgs mouseEventArgs = e.StagingItem.Input as MouseEventArgs;
System\Windows\MouseOverProperty.cs (1)
46MouseEventArgs mouseEventArgs = new MouseEventArgs(Mouse.PrimaryDevice, Environment.TickCount, Mouse.PrimaryDevice.StylusDevice)
PresentationFramework (61)
MS\Internal\Annotations\Component\MarkedHighlightComponent.cs (1)
926private static void OnMouseMove(object sender, MouseEventArgs args)
MS\Internal\Ink\EditingCoordinator.cs (6)
781MouseEventArgs mouseEventArgs = args as MouseEventArgs; 987_inkCanvas.AddHandler(Mouse.MouseMoveEvent, new MouseEventHandler(OnInkCanvasDeviceMove<MouseEventArgs>)); 988_inkCanvas.AddHandler(UIElement.LostMouseCaptureEvent, new MouseEventHandler(OnInkCanvasLostDeviceCapture<MouseEventArgs>)); 1025_inkCanvas.RemoveHandler(Mouse.MouseMoveEvent, new MouseEventHandler(OnInkCanvasDeviceMove<MouseEventArgs>)); 1026_inkCanvas.RemoveHandler(UIElement.LostMouseCaptureEvent, new MouseEventHandler(OnInkCanvasLostDeviceCapture<MouseEventArgs>));
MS\Internal\Ink\SelectionEditingBehavior.cs (2)
123private void OnMouseMove(object sender, MouseEventArgs args) 168private void OnLostMouseCapture(object sender, MouseEventArgs args)
MS\Internal\Ink\SelectionEditor.cs (2)
176private void OnAdornerMouseMoveEvent(object sender, MouseEventArgs args) 187private void OnAdornerMouseLeaveEvent(object sender, MouseEventArgs args)
System\Windows\Controls\ComboBox.cs (2)
1666private static void OnLostMouseCapture(object sender, MouseEventArgs e) 1777private static void OnMouseMove(object sender, MouseEventArgs e)
System\Windows\Controls\ComboBoxItem.cs (1)
123protected override void OnMouseEnter(MouseEventArgs e)
System\Windows\Controls\DataGrid.cs (1)
6203protected override void OnMouseMove(MouseEventArgs e)
System\Windows\Controls\DatePicker.cs (1)
1043private void DropDownButton_MouseLeave(object sender, MouseEventArgs e)
System\Windows\Controls\GridViewColumnHeader.cs (4)
226protected override void OnMouseMove(MouseEventArgs e) 307protected override void OnMouseEnter(MouseEventArgs e) 319protected override void OnMouseLeave(MouseEventArgs e) 878private void OnGripperMouseEnterLeave(object sender, MouseEventArgs e)
System\Windows\Controls\GridViewHeaderRowPresenter.cs (2)
444protected override void OnMouseMove(MouseEventArgs e) 491protected override void OnLostMouseCapture(MouseEventArgs e)
System\Windows\Controls\ListBox.cs (1)
543protected override void OnMouseMove(MouseEventArgs e)
System\Windows\Controls\ListBoxItem.cs (2)
280protected override void OnMouseEnter(MouseEventArgs e) 305protected override void OnMouseLeave(MouseEventArgs e)
System\Windows\Controls\MenuItem.cs (3)
1617protected override void OnMouseLeave(MouseEventArgs e) 1648protected override void OnMouseMove(MouseEventArgs e) 1663protected override void OnMouseEnter(MouseEventArgs e)
System\Windows\Controls\PasswordBox.cs (1)
558protected override void OnMouseMove(MouseEventArgs e)
System\Windows\Controls\Primitives\ButtonBase.cs (4)
503protected override void OnMouseMove(MouseEventArgs e) 519protected override void OnLostMouseCapture(MouseEventArgs e) 540protected override void OnMouseEnter(MouseEventArgs e) 553protected override void OnMouseLeave(MouseEventArgs e)
System\Windows\Controls\Primitives\CalendarItem.cs (3)
274protected override void OnLostMouseCapture(MouseEventArgs e) 748private void Cell_MouseEnter(object sender, MouseEventArgs e) 888private void Month_MouseEnter(object sender, MouseEventArgs e)
System\Windows\Controls\Primitives\DataGridColumnHeader.cs (2)
958protected override void OnMouseMove(MouseEventArgs e) 987protected override void OnLostMouseCapture(MouseEventArgs e)
System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (2)
526internal void OnHeaderMouseMove(MouseEventArgs e) 590internal void OnHeaderLostMouseCapture(MouseEventArgs e)
System\Windows\Controls\Primitives\MenuBase.cs (2)
198protected override void OnMouseLeave(MouseEventArgs e) 525private static void OnLostMouseCapture(object sender, MouseEventArgs e)
System\Windows\Controls\Primitives\Popup.cs (1)
1209private static void OnLostMouseCapture(object sender, MouseEventArgs e)
System\Windows\Controls\Primitives\RepeatButton.cs (3)
236protected override void OnLostMouseCapture(MouseEventArgs e) 246protected override void OnMouseEnter(MouseEventArgs e) 259protected override void OnMouseLeave(MouseEventArgs e)
System\Windows\Controls\Primitives\TextBoxBase.cs (1)
1141protected override void OnMouseMove(MouseEventArgs e)
System\Windows\Controls\Primitives\Thumb.cs (2)
267private static void OnLostMouseCapture(object sender, MouseEventArgs e) 281protected override void OnMouseMove(MouseEventArgs e)
System\Windows\Controls\ToolBar.cs (1)
561protected 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)
1600private void OnMouseEvent(object sender, MouseEventArgs e)
System\Windows\Documents\RubberbandSelector.cs (1)
532private void OnMouseMove(object sender, MouseEventArgs e)
System\windows\Documents\TextEditor.cs (1)
684internal void OnMouseMove(MouseEventArgs e)
System\windows\Documents\TextEditorMouse.cs (3)
265internal static void OnMouseMove(object sender, MouseEventArgs e) 426private static void OnMouseMoveWithoutFocus(TextEditor This, MouseEventArgs e) 433private static void OnMouseMoveWithFocus(TextEditor This, MouseEventArgs e)
System\windows\Documents\TextEditorTyping.cs (2)
1841private static void OnMouseMove(object sender, MouseEventArgs e) 1851private static void OnMouseLeave(object sender, MouseEventArgs e)
System\Windows\Documents\TextStore.cs (1)
2960private void OnMouseEvent(object sender, MouseEventArgs e)
System.Windows.Controls.Ribbon (19)
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (2)
1749private static void OnLostMouseCaptureThunk(object sender, MouseEventArgs e) 1755private void OnLostMouseCaptureThunk(MouseEventArgs e)
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (4)
2620protected override void OnMouseEnter(MouseEventArgs e) 2632protected override void OnMouseLeave(MouseEventArgs e) 2642private static void OnMouseMove(object sender, MouseEventArgs e) 2648internal bool DidMouseMove(MouseEventArgs e)
Microsoft\Windows\Controls\Ribbon\RibbonGalleryItem.cs (2)
343protected override void OnMouseLeave(MouseEventArgs e) 368protected override void OnMouseMove(MouseEventArgs e)
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (4)
174protected override void OnMouseEnter(MouseEventArgs e) 186protected override void OnMouseLeave(MouseEventArgs e) 1386private static void OnLostMouseCaptureThunk(object sender, MouseEventArgs e) 1392private void OnLostMouseCaptureThunk(MouseEventArgs e)
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (1)
1012MouseEventArgs e,
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (2)
1399private static void OnLostMouseCaptureThunk(object sender, MouseEventArgs e) 1405private void OnLostMouseCaptureThunk(MouseEventArgs e)
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (2)
690protected override void OnMouseEnter(System.Windows.Input.MouseEventArgs e) 707protected override void OnMouseLeave(System.Windows.Input.MouseEventArgs e)
Microsoft\Windows\Controls\Ribbon\RibbonQuickAccessToolBar.cs (2)
357private static void OnLostMouseCaptureThunk(object sender, MouseEventArgs e) 363private void OnLostMouseCaptureThunk(MouseEventArgs e)