3 types derived from StylusEventArgs
PresentationCore (3)
System\Windows\Input\Stylus\Common\StylusButtonEventArgs.cs (1)
12public class StylusButtonEventArgs : StylusEventArgs
System\Windows\Input\Stylus\Common\StylusDownEventArgs.cs (1)
11public class StylusDownEventArgs : StylusEventArgs
System\Windows\Input\Stylus\Common\StylusSystemGestureEventArgs.cs (1)
14public class StylusSystemGestureEventArgs : StylusEventArgs
9 instantiations of StylusEventArgs
PresentationCore (9)
System\Windows\Input\Stylus\Pointer\PointerLogic.cs (2)
1001args = new StylusEventArgs(report.StylusDevice, report.Timestamp); 1049eventArgsMain = new StylusEventArgs(stylusDevice, eventArgsPreview.Timestamp);
System\Windows\Input\Stylus\Pointer\PointerStylusDevice.cs (2)
1049StylusEventArgs lostCapture = new StylusEventArgs(StylusDevice, timestamp) 1058StylusEventArgs gotCapture = new StylusEventArgs(StylusDevice, timestamp)
System\Windows\Input\Stylus\Wisp\WispLogic.cs (2)
1387args = new StylusEventArgs(report.StylusDevice, report.Timestamp); 1433eventArgsMain = new StylusEventArgs(stylusDevice, eventArgsPreview.Timestamp);
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (2)
630StylusEventArgs lostCapture = new StylusEventArgs(StylusDevice, timestamp) 639StylusEventArgs gotCapture = new StylusEventArgs(StylusDevice, timestamp)
System\Windows\StylusOverProperty.cs (1)
39StylusEventArgs stylusEventArgs = new StylusEventArgs(Stylus.CurrentStylusDevice, Environment.TickCount)
104 references to StylusEventArgs
PresentationCore (95)
System\Windows\Generated\ContentElement.cs (14)
1259protected internal virtual void OnPreviewStylusUp(StylusEventArgs e) {} 1278protected internal virtual void OnStylusUp(StylusEventArgs e) {} 1297protected internal virtual void OnPreviewStylusMove(StylusEventArgs e) {} 1316protected internal virtual void OnStylusMove(StylusEventArgs e) {} 1335protected internal virtual void OnPreviewStylusInAirMove(StylusEventArgs e) {} 1354protected internal virtual void OnStylusInAirMove(StylusEventArgs e) {} 1373protected internal virtual void OnStylusEnter(StylusEventArgs e) {} 1392protected internal virtual void OnStylusLeave(StylusEventArgs e) {} 1411protected internal virtual void OnPreviewStylusInRange(StylusEventArgs e) {} 1430protected internal virtual void OnStylusInRange(StylusEventArgs e) {} 1449protected internal virtual void OnPreviewStylusOutOfRange(StylusEventArgs e) {} 1468protected internal virtual void OnStylusOutOfRange(StylusEventArgs e) {} 1525protected internal virtual void OnGotStylusCapture(StylusEventArgs e) {} 1544protected internal virtual void OnLostStylusCapture(StylusEventArgs e) {}
System\Windows\Generated\UIElement.cs (28)
1413private static void OnPreviewStylusUpThunk(object sender, StylusEventArgs e) 1438private static void OnStylusUpThunk(object sender, StylusEventArgs e) 1463private static void OnPreviewStylusMoveThunk(object sender, StylusEventArgs e) 1488private static void OnStylusMoveThunk(object sender, StylusEventArgs e) 1513private static void OnPreviewStylusInAirMoveThunk(object sender, StylusEventArgs e) 1538private static void OnStylusInAirMoveThunk(object sender, StylusEventArgs e) 1563private static void OnStylusEnterThunk(object sender, StylusEventArgs e) 1588private static void OnStylusLeaveThunk(object sender, StylusEventArgs e) 1613private static void OnPreviewStylusInRangeThunk(object sender, StylusEventArgs e) 1638private static void OnStylusInRangeThunk(object sender, StylusEventArgs e) 1663private static void OnPreviewStylusOutOfRangeThunk(object sender, StylusEventArgs e) 1688private static void OnStylusOutOfRangeThunk(object sender, StylusEventArgs e) 1763private static void OnGotStylusCaptureThunk(object sender, StylusEventArgs e) 1788private static void OnLostStylusCaptureThunk(object sender, StylusEventArgs e) 3212protected virtual void OnPreviewStylusUp(StylusEventArgs e) {} 3231protected virtual void OnStylusUp(StylusEventArgs e) {} 3250protected virtual void OnPreviewStylusMove(StylusEventArgs e) {} 3269protected virtual void OnStylusMove(StylusEventArgs e) {} 3288protected virtual void OnPreviewStylusInAirMove(StylusEventArgs e) {} 3307protected virtual void OnStylusInAirMove(StylusEventArgs e) {} 3326protected virtual void OnStylusEnter(StylusEventArgs e) {} 3345protected virtual void OnStylusLeave(StylusEventArgs e) {} 3364protected virtual void OnPreviewStylusInRange(StylusEventArgs e) {} 3383protected virtual void OnStylusInRange(StylusEventArgs e) {} 3402protected virtual void OnPreviewStylusOutOfRange(StylusEventArgs e) {} 3421protected virtual void OnStylusOutOfRange(StylusEventArgs e) {} 3478protected virtual void OnGotStylusCapture(StylusEventArgs e) {} 3497protected virtual void OnLostStylusCapture(StylusEventArgs e) {}
System\Windows\Generated\UIElement3D.cs (14)
984protected internal virtual void OnPreviewStylusUp(StylusEventArgs e) {} 1003protected internal virtual void OnStylusUp(StylusEventArgs e) {} 1022protected internal virtual void OnPreviewStylusMove(StylusEventArgs e) {} 1041protected internal virtual void OnStylusMove(StylusEventArgs e) {} 1060protected internal virtual void OnPreviewStylusInAirMove(StylusEventArgs e) {} 1079protected internal virtual void OnStylusInAirMove(StylusEventArgs e) {} 1098protected internal virtual void OnStylusEnter(StylusEventArgs e) {} 1117protected internal virtual void OnStylusLeave(StylusEventArgs e) {} 1136protected internal virtual void OnPreviewStylusInRange(StylusEventArgs e) {} 1155protected internal virtual void OnStylusInRange(StylusEventArgs e) {} 1174protected internal virtual void OnPreviewStylusOutOfRange(StylusEventArgs e) {} 1193protected internal virtual void OnStylusOutOfRange(StylusEventArgs e) {} 1250protected internal virtual void OnGotStylusCapture(StylusEventArgs e) {} 1269protected internal virtual void OnLostStylusCapture(StylusEventArgs e) {}
System\Windows\Input\Stylus\Common\StylusEventHandler.cs (1)
11public delegate void StylusEventHandler(object sender, StylusEventArgs e);
System\Windows\Input\Stylus\Pointer\PointerLogic.cs (11)
965private bool IsTouchPromotionEvent(StylusEventArgs stylusEventArgs) 991StylusEventArgs args; 1031StylusEventArgs eventArgsPreview = (StylusEventArgs)e.StagingItem.Input; 1034StylusEventArgs eventArgsMain; 1072StylusEventArgs stylusEventArgs = e.StagingItem.Input as StylusEventArgs; 1087StylusEventArgs stylusEventArgs = e.StagingItem.Input as StylusEventArgs; 1124private void PromoteMainToTouch(ProcessInputEventArgs e, StylusEventArgs stylusEventArgs) 1267StylusEventArgs stylusDownEventArgs = args.StagingItem.Input as StylusDownEventArgs;
System\Windows\Input\Stylus\Pointer\PointerStylusDevice.cs (2)
1049StylusEventArgs lostCapture = new StylusEventArgs(StylusDevice, timestamp) 1058StylusEventArgs gotCapture = new StylusEventArgs(StylusDevice, timestamp)
System\Windows\Input\Stylus\Wisp\WispLogic.cs (21)
1058StylusEventArgs stylusDownEventArgs = e.StagingItem.Input as StylusDownEventArgs; 1263StylusEventArgs eventArgsOutOfRange = (StylusEventArgs)e.StagingItem.Input; 1325StylusEventArgs stylusMove = (StylusEventArgs)e.StagingItem.Input; 1359var stylusArgs = e.StagingItem.Input as StylusEventArgs; 1378StylusEventArgs args; 1415StylusEventArgs eventArgsPreview = (StylusEventArgs)e.StagingItem.Input; 1418StylusEventArgs eventArgsMain; 1456StylusEventArgs stylusEventArgs = e.StagingItem.Input as StylusEventArgs; 1468StylusEventArgs stylusEventArgs = stagingItem.Input as StylusEventArgs; 1523private static bool IsTouchPromotionEvent(StylusEventArgs stylusEventArgs) 1542private void PromoteMainToTouch(ProcessInputEventArgs e, StylusEventArgs stylusEventArgs) 1729StylusEventArgs stylusArgs = stagingItem.Input as StylusEventArgs; 2892StylusEventArgs eventArgs = (StylusEventArgs)e.StagingItem.Input;
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (3)
630StylusEventArgs lostCapture = new StylusEventArgs(StylusDevice, timestamp) 639StylusEventArgs gotCapture = new StylusEventArgs(StylusDevice, timestamp) 1741internal RawMouseActions GetMouseActionsFromStylusEventAndPlaybackCachedDown(RoutedEvent stylusEvent, StylusEventArgs stylusArgs)
System\Windows\StylusOverProperty.cs (1)
39StylusEventArgs stylusEventArgs = new StylusEventArgs(Stylus.CurrentStylusDevice, Environment.TickCount)
PresentationFramework (9)
MS\Internal\Ink\EditingCoordinator.cs (8)
636private void OnInkCanvasStylusInAirOrInRangeMove(object sender, StylusEventArgs args) 666private void OnInkCanvasStylusOutOfRange(object sender, StylusEventArgs args) 712StylusEventArgs stylusEventArgs = args as StylusEventArgs; 967_inkCanvas.AddHandler(Stylus.StylusMoveEvent, new StylusEventHandler(OnInkCanvasDeviceMove<StylusEventArgs>)); 968_inkCanvas.AddHandler(UIElement.LostStylusCaptureEvent, new StylusEventHandler(OnInkCanvasLostDeviceCapture<StylusEventArgs>)); 1020_inkCanvas.RemoveHandler(Stylus.StylusMoveEvent, new StylusEventHandler(OnInkCanvasDeviceMove<StylusEventArgs>)); 1021_inkCanvas.RemoveHandler(UIElement.LostStylusCaptureEvent, new StylusEventHandler(OnInkCanvasLostDeviceCapture<StylusEventArgs>));
System\Windows\Controls\InkCanvas.cs (1)
63new StylusEventHandler(_OnDeviceUp<StylusEventArgs>));