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