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