3 types derived from StylusEventArgs
PresentationCore (3)
System\Windows\Input\Stylus\Common\StylusButtonEventArgs.cs (1)
17public class StylusButtonEventArgs : StylusEventArgs
System\Windows\Input\Stylus\Common\StylusDownEventArgs.cs (1)
16public class StylusDownEventArgs : StylusEventArgs
System\Windows\Input\Stylus\Common\StylusSystemGestureEventArgs.cs (1)
19public class StylusSystemGestureEventArgs : StylusEventArgs
9 instantiations of StylusEventArgs
PresentationCore (9)
System\Windows\Input\Stylus\Pointer\PointerLogic.cs (2)
1016args = new StylusEventArgs(report.StylusDevice, report.Timestamp); 1064eventArgsMain = new StylusEventArgs(stylusDevice, eventArgsPreview.Timestamp);
System\Windows\Input\Stylus\Pointer\PointerStylusDevice.cs (2)
1055StylusEventArgs lostCapture = new StylusEventArgs(StylusDevice, timestamp); 1062StylusEventArgs gotCapture = new StylusEventArgs(StylusDevice, timestamp);
System\Windows\Input\Stylus\Wisp\WispLogic.cs (2)
1385args = new StylusEventArgs(report.StylusDevice, report.Timestamp); 1431eventArgsMain = new StylusEventArgs(stylusDevice, eventArgsPreview.Timestamp);
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (2)
631StylusEventArgs lostCapture = new StylusEventArgs(StylusDevice, timestamp); 638StylusEventArgs gotCapture = new StylusEventArgs(StylusDevice, timestamp);
System\Windows\StylusOverProperty.cs (1)
41StylusEventArgs stylusEventArgs = new StylusEventArgs(Stylus.CurrentStylusDevice, Environment.TickCount);
104 references to StylusEventArgs
PresentationCore (95)
System\Windows\Generated\ContentElement.cs (14)
1271protected internal virtual void OnPreviewStylusUp(StylusEventArgs e) {} 1290protected internal virtual void OnStylusUp(StylusEventArgs e) {} 1309protected internal virtual void OnPreviewStylusMove(StylusEventArgs e) {} 1328protected internal virtual void OnStylusMove(StylusEventArgs e) {} 1347protected internal virtual void OnPreviewStylusInAirMove(StylusEventArgs e) {} 1366protected internal virtual void OnStylusInAirMove(StylusEventArgs e) {} 1385protected internal virtual void OnStylusEnter(StylusEventArgs e) {} 1404protected internal virtual void OnStylusLeave(StylusEventArgs e) {} 1423protected internal virtual void OnPreviewStylusInRange(StylusEventArgs e) {} 1442protected internal virtual void OnStylusInRange(StylusEventArgs e) {} 1461protected internal virtual void OnPreviewStylusOutOfRange(StylusEventArgs e) {} 1480protected internal virtual void OnStylusOutOfRange(StylusEventArgs e) {} 1537protected internal virtual void OnGotStylusCapture(StylusEventArgs e) {} 1556protected internal virtual void OnLostStylusCapture(StylusEventArgs e) {}
System\Windows\Generated\UIElement.cs (28)
1425private static void OnPreviewStylusUpThunk(object sender, StylusEventArgs e) 1450private static void OnStylusUpThunk(object sender, StylusEventArgs e) 1475private static void OnPreviewStylusMoveThunk(object sender, StylusEventArgs e) 1500private static void OnStylusMoveThunk(object sender, StylusEventArgs e) 1525private static void OnPreviewStylusInAirMoveThunk(object sender, StylusEventArgs e) 1550private static void OnStylusInAirMoveThunk(object sender, StylusEventArgs e) 1575private static void OnStylusEnterThunk(object sender, StylusEventArgs e) 1600private static void OnStylusLeaveThunk(object sender, StylusEventArgs e) 1625private static void OnPreviewStylusInRangeThunk(object sender, StylusEventArgs e) 1650private static void OnStylusInRangeThunk(object sender, StylusEventArgs e) 1675private static void OnPreviewStylusOutOfRangeThunk(object sender, StylusEventArgs e) 1700private static void OnStylusOutOfRangeThunk(object sender, StylusEventArgs e) 1775private static void OnGotStylusCaptureThunk(object sender, StylusEventArgs e) 1800private static void OnLostStylusCaptureThunk(object sender, StylusEventArgs e) 3224protected virtual void OnPreviewStylusUp(StylusEventArgs e) {} 3243protected virtual void OnStylusUp(StylusEventArgs e) {} 3262protected virtual void OnPreviewStylusMove(StylusEventArgs e) {} 3281protected virtual void OnStylusMove(StylusEventArgs e) {} 3300protected virtual void OnPreviewStylusInAirMove(StylusEventArgs e) {} 3319protected virtual void OnStylusInAirMove(StylusEventArgs e) {} 3338protected virtual void OnStylusEnter(StylusEventArgs e) {} 3357protected virtual void OnStylusLeave(StylusEventArgs e) {} 3376protected virtual void OnPreviewStylusInRange(StylusEventArgs e) {} 3395protected virtual void OnStylusInRange(StylusEventArgs e) {} 3414protected virtual void OnPreviewStylusOutOfRange(StylusEventArgs e) {} 3433protected virtual void OnStylusOutOfRange(StylusEventArgs e) {} 3490protected virtual void OnGotStylusCapture(StylusEventArgs e) {} 3509protected virtual void OnLostStylusCapture(StylusEventArgs e) {}
System\Windows\Generated\UIElement3D.cs (14)
992protected internal virtual void OnPreviewStylusUp(StylusEventArgs e) {} 1011protected internal virtual void OnStylusUp(StylusEventArgs e) {} 1030protected internal virtual void OnPreviewStylusMove(StylusEventArgs e) {} 1049protected internal virtual void OnStylusMove(StylusEventArgs e) {} 1068protected internal virtual void OnPreviewStylusInAirMove(StylusEventArgs e) {} 1087protected internal virtual void OnStylusInAirMove(StylusEventArgs e) {} 1106protected internal virtual void OnStylusEnter(StylusEventArgs e) {} 1125protected internal virtual void OnStylusLeave(StylusEventArgs e) {} 1144protected internal virtual void OnPreviewStylusInRange(StylusEventArgs e) {} 1163protected internal virtual void OnStylusInRange(StylusEventArgs e) {} 1182protected internal virtual void OnPreviewStylusOutOfRange(StylusEventArgs e) {} 1201protected internal virtual void OnStylusOutOfRange(StylusEventArgs e) {} 1258protected internal virtual void OnGotStylusCapture(StylusEventArgs e) {} 1277protected 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)
980private bool IsTouchPromotionEvent(StylusEventArgs stylusEventArgs) 1006StylusEventArgs args; 1046StylusEventArgs eventArgsPreview = (StylusEventArgs)e.StagingItem.Input; 1049StylusEventArgs eventArgsMain; 1087StylusEventArgs stylusEventArgs = e.StagingItem.Input as StylusEventArgs; 1102StylusEventArgs stylusEventArgs = e.StagingItem.Input as StylusEventArgs; 1139private void PromoteMainToTouch(ProcessInputEventArgs e, StylusEventArgs stylusEventArgs) 1282StylusEventArgs stylusDownEventArgs = args.StagingItem.Input as StylusDownEventArgs;
System\Windows\Input\Stylus\Pointer\PointerStylusDevice.cs (2)
1055StylusEventArgs lostCapture = new StylusEventArgs(StylusDevice, timestamp); 1062StylusEventArgs 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; 1323StylusEventArgs stylusMove = (StylusEventArgs)e.StagingItem.Input; 1357var stylusArgs = e.StagingItem.Input as StylusEventArgs; 1376StylusEventArgs args; 1413StylusEventArgs eventArgsPreview = (StylusEventArgs)e.StagingItem.Input; 1416StylusEventArgs eventArgsMain; 1454StylusEventArgs stylusEventArgs = e.StagingItem.Input as StylusEventArgs; 1466StylusEventArgs stylusEventArgs = stagingItem.Input as StylusEventArgs; 1521private static bool IsTouchPromotionEvent(StylusEventArgs stylusEventArgs) 1540private void PromoteMainToTouch(ProcessInputEventArgs e, StylusEventArgs stylusEventArgs) 1727StylusEventArgs stylusArgs = stagingItem.Input as StylusEventArgs; 2880StylusEventArgs eventArgs = (StylusEventArgs)e.StagingItem.Input;
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (3)
631StylusEventArgs lostCapture = new StylusEventArgs(StylusDevice, timestamp); 638StylusEventArgs gotCapture = new StylusEventArgs(StylusDevice, timestamp); 1736internal RawMouseActions GetMouseActionsFromStylusEventAndPlaybackCachedDown(RoutedEvent stylusEvent, StylusEventArgs stylusArgs)
System\Windows\StylusOverProperty.cs (1)
41StylusEventArgs stylusEventArgs = new StylusEventArgs(Stylus.CurrentStylusDevice, Environment.TickCount);
PresentationFramework (9)
MS\Internal\Ink\EditingCoordinator.cs (8)
651private void OnInkCanvasStylusInAirOrInRangeMove(object sender, StylusEventArgs args) 681private void OnInkCanvasStylusOutOfRange(object sender, StylusEventArgs args) 727StylusEventArgs stylusEventArgs = args as StylusEventArgs; 982_inkCanvas.AddHandler(Stylus.StylusMoveEvent, new StylusEventHandler(OnInkCanvasDeviceMove<StylusEventArgs>)); 983_inkCanvas.AddHandler(UIElement.LostStylusCaptureEvent, new StylusEventHandler(OnInkCanvasLostDeviceCapture<StylusEventArgs>)); 1035_inkCanvas.RemoveHandler(Stylus.StylusMoveEvent, new StylusEventHandler(OnInkCanvasDeviceMove<StylusEventArgs>)); 1036_inkCanvas.RemoveHandler(UIElement.LostStylusCaptureEvent, new StylusEventHandler(OnInkCanvasLostDeviceCapture<StylusEventArgs>));
System\Windows\Controls\InkCanvas.cs (1)
75new StylusEventHandler(_OnDeviceUp<StylusEventArgs>));