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)
999args = new StylusEventArgs(report.StylusDevice, report.Timestamp); 1047eventArgsMain = new StylusEventArgs(stylusDevice, eventArgsPreview.Timestamp);
System\Windows\Input\Stylus\Pointer\PointerStylusDevice.cs (2)
1047StylusEventArgs lostCapture = new StylusEventArgs(StylusDevice, timestamp); 1054StylusEventArgs gotCapture = new StylusEventArgs(StylusDevice, timestamp);
System\Windows\Input\Stylus\Wisp\WispLogic.cs (2)
1376args = new StylusEventArgs(report.StylusDevice, report.Timestamp); 1422eventArgsMain = new StylusEventArgs(stylusDevice, eventArgsPreview.Timestamp);
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (2)
628StylusEventArgs lostCapture = new StylusEventArgs(StylusDevice, timestamp); 635StylusEventArgs 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)
1267protected internal virtual void OnPreviewStylusUp(StylusEventArgs e) {} 1286protected internal virtual void OnStylusUp(StylusEventArgs e) {} 1305protected internal virtual void OnPreviewStylusMove(StylusEventArgs e) {} 1324protected internal virtual void OnStylusMove(StylusEventArgs e) {} 1343protected internal virtual void OnPreviewStylusInAirMove(StylusEventArgs e) {} 1362protected internal virtual void OnStylusInAirMove(StylusEventArgs e) {} 1381protected internal virtual void OnStylusEnter(StylusEventArgs e) {} 1400protected internal virtual void OnStylusLeave(StylusEventArgs e) {} 1419protected internal virtual void OnPreviewStylusInRange(StylusEventArgs e) {} 1438protected internal virtual void OnStylusInRange(StylusEventArgs e) {} 1457protected internal virtual void OnPreviewStylusOutOfRange(StylusEventArgs e) {} 1476protected internal virtual void OnStylusOutOfRange(StylusEventArgs e) {} 1533protected internal virtual void OnGotStylusCapture(StylusEventArgs e) {} 1552protected internal virtual void OnLostStylusCapture(StylusEventArgs e) {}
System\Windows\Generated\UIElement.cs (28)
1421private static void OnPreviewStylusUpThunk(object sender, StylusEventArgs e) 1446private static void OnStylusUpThunk(object sender, StylusEventArgs e) 1471private static void OnPreviewStylusMoveThunk(object sender, StylusEventArgs e) 1496private static void OnStylusMoveThunk(object sender, StylusEventArgs e) 1521private static void OnPreviewStylusInAirMoveThunk(object sender, StylusEventArgs e) 1546private static void OnStylusInAirMoveThunk(object sender, StylusEventArgs e) 1571private static void OnStylusEnterThunk(object sender, StylusEventArgs e) 1596private static void OnStylusLeaveThunk(object sender, StylusEventArgs e) 1621private static void OnPreviewStylusInRangeThunk(object sender, StylusEventArgs e) 1646private static void OnStylusInRangeThunk(object sender, StylusEventArgs e) 1671private static void OnPreviewStylusOutOfRangeThunk(object sender, StylusEventArgs e) 1696private static void OnStylusOutOfRangeThunk(object sender, StylusEventArgs e) 1771private static void OnGotStylusCaptureThunk(object sender, StylusEventArgs e) 1796private static void OnLostStylusCaptureThunk(object sender, StylusEventArgs e) 3220protected virtual void OnPreviewStylusUp(StylusEventArgs e) {} 3239protected virtual void OnStylusUp(StylusEventArgs e) {} 3258protected virtual void OnPreviewStylusMove(StylusEventArgs e) {} 3277protected virtual void OnStylusMove(StylusEventArgs e) {} 3296protected virtual void OnPreviewStylusInAirMove(StylusEventArgs e) {} 3315protected virtual void OnStylusInAirMove(StylusEventArgs e) {} 3334protected virtual void OnStylusEnter(StylusEventArgs e) {} 3353protected virtual void OnStylusLeave(StylusEventArgs e) {} 3372protected virtual void OnPreviewStylusInRange(StylusEventArgs e) {} 3391protected virtual void OnStylusInRange(StylusEventArgs e) {} 3410protected virtual void OnPreviewStylusOutOfRange(StylusEventArgs e) {} 3429protected virtual void OnStylusOutOfRange(StylusEventArgs e) {} 3486protected virtual void OnGotStylusCapture(StylusEventArgs e) {} 3505protected virtual void OnLostStylusCapture(StylusEventArgs e) {}
System\Windows\Generated\UIElement3D.cs (14)
986protected internal virtual void OnPreviewStylusUp(StylusEventArgs e) {} 1005protected internal virtual void OnStylusUp(StylusEventArgs e) {} 1024protected internal virtual void OnPreviewStylusMove(StylusEventArgs e) {} 1043protected internal virtual void OnStylusMove(StylusEventArgs e) {} 1062protected internal virtual void OnPreviewStylusInAirMove(StylusEventArgs e) {} 1081protected internal virtual void OnStylusInAirMove(StylusEventArgs e) {} 1100protected internal virtual void OnStylusEnter(StylusEventArgs e) {} 1119protected internal virtual void OnStylusLeave(StylusEventArgs e) {} 1138protected internal virtual void OnPreviewStylusInRange(StylusEventArgs e) {} 1157protected internal virtual void OnStylusInRange(StylusEventArgs e) {} 1176protected internal virtual void OnPreviewStylusOutOfRange(StylusEventArgs e) {} 1195protected internal virtual void OnStylusOutOfRange(StylusEventArgs e) {} 1252protected internal virtual void OnGotStylusCapture(StylusEventArgs e) {} 1271protected 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)
963private bool IsTouchPromotionEvent(StylusEventArgs stylusEventArgs) 989StylusEventArgs args; 1029StylusEventArgs eventArgsPreview = (StylusEventArgs)e.StagingItem.Input; 1032StylusEventArgs eventArgsMain; 1070StylusEventArgs stylusEventArgs = e.StagingItem.Input as StylusEventArgs; 1085StylusEventArgs stylusEventArgs = e.StagingItem.Input as StylusEventArgs; 1122private void PromoteMainToTouch(ProcessInputEventArgs e, StylusEventArgs stylusEventArgs) 1265StylusEventArgs stylusDownEventArgs = args.StagingItem.Input as StylusDownEventArgs;
System\Windows\Input\Stylus\Pointer\PointerStylusDevice.cs (2)
1047StylusEventArgs lostCapture = new StylusEventArgs(StylusDevice, timestamp); 1054StylusEventArgs gotCapture = new StylusEventArgs(StylusDevice, timestamp);
System\Windows\Input\Stylus\Wisp\WispLogic.cs (21)
1049StylusEventArgs stylusDownEventArgs = e.StagingItem.Input as StylusDownEventArgs; 1254StylusEventArgs eventArgsOutOfRange = (StylusEventArgs)e.StagingItem.Input; 1314StylusEventArgs stylusMove = (StylusEventArgs)e.StagingItem.Input; 1348var stylusArgs = e.StagingItem.Input as StylusEventArgs; 1367StylusEventArgs args; 1404StylusEventArgs eventArgsPreview = (StylusEventArgs)e.StagingItem.Input; 1407StylusEventArgs eventArgsMain; 1445StylusEventArgs stylusEventArgs = e.StagingItem.Input as StylusEventArgs; 1457StylusEventArgs stylusEventArgs = stagingItem.Input as StylusEventArgs; 1512private static bool IsTouchPromotionEvent(StylusEventArgs stylusEventArgs) 1531private void PromoteMainToTouch(ProcessInputEventArgs e, StylusEventArgs stylusEventArgs) 1718StylusEventArgs stylusArgs = stagingItem.Input as StylusEventArgs; 2871StylusEventArgs eventArgs = (StylusEventArgs)e.StagingItem.Input;
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (3)
628StylusEventArgs lostCapture = new StylusEventArgs(StylusDevice, timestamp); 635StylusEventArgs gotCapture = new StylusEventArgs(StylusDevice, timestamp); 1733internal 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>));