3 types derived from MouseEventArgs
PresentationCore (3)
Core\CSharp\System\Windows\Input\MouseButtonEventArgs.cs (1)
8public class MouseButtonEventArgs : MouseEventArgs
Core\CSharp\System\Windows\Input\MouseWheelEventArgs.cs (1)
8public class MouseWheelEventArgs : MouseEventArgs
Core\CSharp\System\Windows\Input\QueryCursorEventArgs.cs (1)
8public class QueryCursorEventArgs : MouseEventArgs
5 instantiations of MouseEventArgs
PresentationCore (5)
Core\CSharp\System\Windows\Input\MouseDevice.cs (4)
1239MouseEventArgs lostCapture = new MouseEventArgs(this, timestamp, _stylusDevice); 1247MouseEventArgs gotCapture = new MouseEventArgs(this, timestamp, _stylusDevice); 1973MouseEventArgs move = new MouseEventArgs(this, previewMove.Timestamp, GetStylusDevice(e.StagingItem)); 2130MouseEventArgs previewMove = new MouseEventArgs(this, rawMouseInputReport.Timestamp, GetStylusDevice(e.StagingItem));
Core\CSharp\System\Windows\MouseOverProperty.cs (1)
45MouseEventArgs mouseEventArgs = new MouseEventArgs(Mouse.PrimaryDevice, Environment.TickCount, Mouse.PrimaryDevice.StylusDevice);
136 references to MouseEventArgs
PresentationCore (34)
Core\CSharp\System\Windows\Generated\ContentElement.cs (6)
1122protected internal virtual void OnPreviewMouseMove(MouseEventArgs e) {} 1141protected internal virtual void OnMouseMove(MouseEventArgs e) {} 1198protected internal virtual void OnMouseEnter(MouseEventArgs e) {} 1217protected internal virtual void OnMouseLeave(MouseEventArgs e) {} 1236protected internal virtual void OnGotMouseCapture(MouseEventArgs e) {} 1255protected internal virtual void OnLostMouseCapture(MouseEventArgs e) {}
Core\CSharp\System\Windows\Generated\UIElement.cs (12)
1262private static void OnPreviewMouseMoveThunk(object sender, MouseEventArgs e) 1291private static void OnMouseMoveThunk(object sender, MouseEventArgs e) 1383private static void OnMouseEnterThunk(object sender, MouseEventArgs e) 1412private static void OnMouseLeaveThunk(object sender, MouseEventArgs e) 1441private static void OnGotMouseCaptureThunk(object sender, MouseEventArgs e) 1470private static void OnLostMouseCaptureThunk(object sender, MouseEventArgs e) 3400protected virtual void OnPreviewMouseMove(MouseEventArgs e) {} 3419protected virtual void OnMouseMove(MouseEventArgs e) {} 3476protected virtual void OnMouseEnter(MouseEventArgs e) {} 3495protected virtual void OnMouseLeave(MouseEventArgs e) {} 3514protected virtual void OnGotMouseCapture(MouseEventArgs e) {} 3533protected virtual void OnLostMouseCapture(MouseEventArgs e) {}
Core\CSharp\System\Windows\Generated\UIElement3D.cs (6)
828protected internal virtual void OnPreviewMouseMove(MouseEventArgs e) {} 847protected internal virtual void OnMouseMove(MouseEventArgs e) {} 904protected internal virtual void OnMouseEnter(MouseEventArgs e) {} 923protected internal virtual void OnMouseLeave(MouseEventArgs e) {} 942protected internal virtual void OnGotMouseCapture(MouseEventArgs e) {} 961protected internal virtual void OnLostMouseCapture(MouseEventArgs e) {}
Core\CSharp\System\Windows\Input\Command\MouseGesture.cs (2)
183MouseEventArgs mouseArgs = inputArgs as MouseEventArgs;
Core\CSharp\System\Windows\Input\MouseDevice.cs (6)
1239MouseEventArgs lostCapture = new MouseEventArgs(this, timestamp, _stylusDevice); 1247MouseEventArgs gotCapture = new MouseEventArgs(this, timestamp, _stylusDevice); 1972MouseEventArgs previewMove = (MouseEventArgs) e.StagingItem.Input; 1973MouseEventArgs move = new MouseEventArgs(this, previewMove.Timestamp, GetStylusDevice(e.StagingItem)); 2130MouseEventArgs previewMove = new MouseEventArgs(this, rawMouseInputReport.Timestamp, GetStylusDevice(e.StagingItem));
Core\CSharp\System\Windows\Input\MouseEventHandler.cs (1)
8public delegate void MouseEventHandler(object sender, MouseEventArgs e);
Core\CSharp\System\Windows\MouseOverProperty.cs (1)
45MouseEventArgs mouseEventArgs = new MouseEventArgs(Mouse.PrimaryDevice, Environment.TickCount, Mouse.PrimaryDevice.StylusDevice);
PresentationFramework (61)
src\Framework\MS\Internal\Annotations\Component\MArkedHighlightComponent.cs (1)
951private static void OnMouseMove(object sender, MouseEventArgs args)
src\Framework\MS\Internal\Ink\EditingCoordinator.cs (6)
838MouseEventArgs mouseEventArgs = args as MouseEventArgs; 1057_inkCanvas.AddHandler(Mouse.MouseMoveEvent, new MouseEventHandler(OnInkCanvasDeviceMove<MouseEventArgs>)); 1058_inkCanvas.AddHandler(UIElement.LostMouseCaptureEvent, new MouseEventHandler(OnInkCanvasLostDeviceCapture<MouseEventArgs>)); 1095_inkCanvas.RemoveHandler(Mouse.MouseMoveEvent, new MouseEventHandler(OnInkCanvasDeviceMove<MouseEventArgs>)); 1096_inkCanvas.RemoveHandler(UIElement.LostMouseCaptureEvent, new MouseEventHandler(OnInkCanvasLostDeviceCapture<MouseEventArgs>));
src\Framework\MS\Internal\Ink\SelectionEditingBehavior.cs (2)
140private void OnMouseMove(object sender, MouseEventArgs args) 185private void OnLostMouseCapture(object sender, MouseEventArgs args)
src\Framework\MS\Internal\Ink\SelectionEditor.cs (2)
213private void OnAdornerMouseMoveEvent(object sender, MouseEventArgs args) 224private void OnAdornerMouseLeaveEvent(object sender, MouseEventArgs args)
src\Framework\System\Windows\Controls\ComboBox.cs (2)
1682private static void OnLostMouseCapture(object sender, MouseEventArgs e) 1793private static void OnMouseMove(object sender, MouseEventArgs e)
src\Framework\System\Windows\Controls\ComboBoxItem.cs (1)
143protected override void OnMouseEnter(MouseEventArgs e)
src\Framework\System\Windows\Controls\DataGrid.cs (1)
6253protected override void OnMouseMove(MouseEventArgs e)
src\Framework\System\Windows\Controls\DatePicker.cs (1)
1040private void DropDownButton_MouseLeave(object sender, MouseEventArgs e)
src\Framework\System\Windows\Controls\GridViewColumnHeader.cs (4)
234protected override void OnMouseMove(MouseEventArgs e) 315protected override void OnMouseEnter(MouseEventArgs e) 327protected override void OnMouseLeave(MouseEventArgs e) 925private void OnGripperMouseEnterLeave(object sender, MouseEventArgs e)
src\Framework\System\Windows\Controls\GridViewHeaderRowPresenter.cs (2)
450protected override void OnMouseMove(MouseEventArgs e) 497protected override void OnLostMouseCapture(MouseEventArgs e)
src\Framework\System\Windows\Controls\ListBox.cs (1)
506protected override void OnMouseMove(MouseEventArgs e)
src\Framework\System\Windows\Controls\ListBoxItem.cs (2)
294protected override void OnMouseEnter(MouseEventArgs e) 319protected override void OnMouseLeave(MouseEventArgs e)
src\Framework\System\Windows\Controls\MenuItem.cs (3)
1668protected override void OnMouseLeave(MouseEventArgs e) 1699protected override void OnMouseMove(MouseEventArgs e) 1714protected override void OnMouseEnter(MouseEventArgs e)
src\Framework\System\Windows\Controls\PasswordBox.cs (1)
590protected override void OnMouseMove(MouseEventArgs e)
src\Framework\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)
src\Framework\System\Windows\Controls\Primitives\CalendarItem.cs (3)
281protected override void OnLostMouseCapture(MouseEventArgs e) 756private void Cell_MouseEnter(object sender, MouseEventArgs e) 899private void Month_MouseEnter(object sender, MouseEventArgs e)
src\Framework\System\Windows\Controls\Primitives\DataGridColumnHeader.cs (2)
980protected override void OnMouseMove(MouseEventArgs e) 1009protected override void OnLostMouseCapture(MouseEventArgs e)
src\Framework\System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (2)
538internal void OnHeaderMouseMove(MouseEventArgs e) 602internal void OnHeaderLostMouseCapture(MouseEventArgs e)
src\Framework\System\Windows\Controls\Primitives\MenuBase.cs (2)
210protected override void OnMouseLeave(MouseEventArgs e) 539private static void OnLostMouseCapture(object sender, MouseEventArgs e)
src\Framework\System\Windows\Controls\Primitives\Popup.cs (1)
1211private static void OnLostMouseCapture(object sender, MouseEventArgs e)
src\Framework\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)
src\Framework\System\Windows\Controls\Primitives\TextBoxBase.cs (1)
1190protected override void OnMouseMove(MouseEventArgs e)
src\Framework\System\Windows\Controls\Primitives\Thumb.cs (2)
279private static void OnLostMouseCapture(object sender, MouseEventArgs e) 293protected override void OnMouseMove(MouseEventArgs e)
src\Framework\System\Windows\Controls\ToolBar.cs (1)
587protected override void OnLostMouseCapture(MouseEventArgs e)
src\Framework\System\Windows\Documents\Hyperlink.cs (2)
1135private static void OnMouseEnter(object sender, MouseEventArgs e) 1147private static void OnMouseLeave(object sender, MouseEventArgs e)
src\Framework\System\Windows\Documents\ImmComposition.cs (1)
1791private void OnMouseEvent(object sender, MouseEventArgs e)
src\Framework\System\Windows\Documents\RubberbandSelector.cs (1)
642private void OnMouseMove(object sender, MouseEventArgs e)
src\Framework\System\windows\Documents\TextEditor.cs (1)
724internal void OnMouseMove(MouseEventArgs e)
src\Framework\System\windows\Documents\TextEditorMouse.cs (3)
285internal static void OnMouseMove(object sender, MouseEventArgs e) 446private static void OnMouseMoveWithoutFocus(TextEditor This, MouseEventArgs e) 453private static void OnMouseMoveWithFocus(TextEditor This, MouseEventArgs e)
src\Framework\System\windows\Documents\TextEditorTyping.cs (2)
1893private static void OnMouseMove(object sender, MouseEventArgs e) 1903private static void OnMouseLeave(object sender, MouseEventArgs e)
src\Framework\System\Windows\Documents\TextStore.cs (1)
2878private void OnMouseEvent(object sender, MouseEventArgs e)
System.Activities.Core.Presentation (16)
System\Activities\Core\Presentation\FlowchartDesigner.xaml.cs (5)
448private void OnFlowchartGridMouseLeave(object sender, MouseEventArgs e) 458private void OnFlowchartGridMouseMove(object sender, MouseEventArgs e) 518void ChildElement_MouseEnter(object sender, MouseEventArgs e) 628void ChildElement_MouseLeave(object sender, MouseEventArgs e) 668void ConnectionPoint_MouseLeave(object sender, MouseEventArgs e)
System\Activities\Core\Presentation\FlowchartResizeGrip.cs (1)
75protected override void OnMouseMove(MouseEventArgs args)
System\Activities\Core\Presentation\StateContainerEditor.xaml.cs (7)
1193private void UpdateActiveConnectionPoint(MouseEventArgs e) 1228void OnChildElementMouseEnter(object sender, MouseEventArgs e) 1285void OnChildElementMouseLeave(object sender, MouseEventArgs e) 1478void OnConnectionPointMouseLeave(object sender, MouseEventArgs e) 1686void OnStateContainerGridMouseLeave(object sender, MouseEventArgs e) 1696void OnStateContainerGridMouseMove(object sender, MouseEventArgs e) 1718void OnStateContainerGridPreviewMouseMove(object sender, MouseEventArgs e)
System\Activities\Core\Presentation\StateContainerResizeGrip.cs (3)
62protected override void OnGotMouseCapture(MouseEventArgs e) 82protected override void OnLostMouseCapture(MouseEventArgs e) 123protected override void OnMouseMove(MouseEventArgs args)
System.Activities.Presentation (25)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Controls\WorkaroundPopup.cs (1)
62protected override void OnLostMouseCapture(System.Windows.Input.MouseEventArgs e)
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectionPointsAdorner.cs (1)
51protected override void OnMouseMove(MouseEventArgs e)
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorRouter.cs (1)
71internal static Point[] Route(FreeFormPanel panel, ConnectionPoint srcConnectionPoint, MouseEventArgs e)
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorWithStartDot.xaml.cs (2)
42protected override void OnMouseEnter(MouseEventArgs e) 48protected override void OnMouseLeave(MouseEventArgs e)
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\FreeFormPanel.cs (2)
472protected override void OnMouseLeave(MouseEventArgs e) 486protected override void OnMouseMove(System.Windows.Input.MouseEventArgs e)
System.Activities.Presentation\System\Activities\Presentation\MiniMap\MiniMapControl.xaml.cs (4)
64protected override void OnMouseMove(MouseEventArgs e) 329public void CenterView(MouseEventArgs args) 354public bool StartMapLookupDrag(MouseEventArgs args) 373public void DoMapLookupDrag(MouseEventArgs args)
System.Activities.Presentation\System\Activities\Presentation\Toolbox\ToolboxControl.cs (2)
354internal void OnToolMouseMove(object sender, MouseEventArgs args) 366internal void OnTreeViewDoubleClick(object sender, MouseEventArgs args)
System.Activities.Presentation\System\Activities\Presentation\View\AutoScrollHelper.cs (1)
17public static void AutoScroll(MouseEventArgs e, DependencyObject element, double offsetPerScroll)
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.xaml.cs (2)
774private void OnScrollViewerMouseMove(object sender, MouseEventArgs e) 782private void OnScrollViewerMouseLeave(object sender, MouseEventArgs e)
System.Activities.Presentation\System\Activities\Presentation\View\ExtensionWindow.cs (2)
317void OnBorderMouseMove(object sender, MouseEventArgs e) 401void OnBorderMouseLeave(object sender, MouseEventArgs e)
System.Activities.Presentation\System\Activities\Presentation\View\ExtensionWindowHeader.cs (1)
101protected override void OnMouseMove(MouseEventArgs args)
System.Activities.Presentation\System\Activities\Presentation\View\ExtensionWindowResizeGrip.cs (1)
52protected override void OnMouseMove(MouseEventArgs args)
System.Activities.Presentation\System\Activities\Presentation\View\RubberBandSelector.cs (2)
120public void OnScrollViewerMouseMove(MouseEventArgs e) 148public void OnScrollViewerPreviewMouseLeftButtonUp(MouseEventArgs e)
System.Activities.Presentation\System\Activities\Presentation\View\ScrollViewerPanner.cs (2)
157internal void OnLostMouseCapture(object sender, MouseEventArgs e) 162internal void OnScrollViewerMouseMove(object sender, MouseEventArgs e)
System.Activities.Presentation\System\Activities\Presentation\WorkflowViewElement.cs (1)
737protected override void OnMouseMove(MouseEventArgs e)