3 types derived from StylusEventArgs
PresentationCore (3)
System\Windows\Input\Stylus\Common\StylusButtonEventArgs.cs (1)
11
public class StylusButtonEventArgs :
StylusEventArgs
System\Windows\Input\Stylus\Common\StylusDownEventArgs.cs (1)
10
public class StylusDownEventArgs :
StylusEventArgs
System\Windows\Input\Stylus\Common\StylusSystemGestureEventArgs.cs (1)
13
public class StylusSystemGestureEventArgs :
StylusEventArgs
9 instantiations of StylusEventArgs
PresentationCore (9)
System\Windows\Input\Stylus\Pointer\PointerLogic.cs (2)
1000
args = new
StylusEventArgs
(report.StylusDevice, report.Timestamp);
1048
eventArgsMain = new
StylusEventArgs
(stylusDevice, eventArgsPreview.Timestamp);
System\Windows\Input\Stylus\Pointer\PointerStylusDevice.cs (2)
1048
StylusEventArgs lostCapture = new
StylusEventArgs
(StylusDevice, timestamp)
1057
StylusEventArgs gotCapture = new
StylusEventArgs
(StylusDevice, timestamp)
System\Windows\Input\Stylus\Wisp\WispLogic.cs (2)
1386
args = new
StylusEventArgs
(report.StylusDevice, report.Timestamp);
1432
eventArgsMain = new
StylusEventArgs
(stylusDevice, eventArgsPreview.Timestamp);
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (2)
626
StylusEventArgs lostCapture = new
StylusEventArgs
(StylusDevice, timestamp)
635
StylusEventArgs gotCapture = new
StylusEventArgs
(StylusDevice, timestamp)
System\Windows\StylusOverProperty.cs (1)
38
StylusEventArgs stylusEventArgs = new
StylusEventArgs
(Stylus.CurrentStylusDevice, Environment.TickCount)
104 references to StylusEventArgs
PresentationCore (95)
System\Windows\Generated\ContentElement.cs (14)
1255
protected internal virtual void OnPreviewStylusUp(
StylusEventArgs
e) {}
1274
protected internal virtual void OnStylusUp(
StylusEventArgs
e) {}
1293
protected internal virtual void OnPreviewStylusMove(
StylusEventArgs
e) {}
1312
protected internal virtual void OnStylusMove(
StylusEventArgs
e) {}
1331
protected internal virtual void OnPreviewStylusInAirMove(
StylusEventArgs
e) {}
1350
protected internal virtual void OnStylusInAirMove(
StylusEventArgs
e) {}
1369
protected internal virtual void OnStylusEnter(
StylusEventArgs
e) {}
1388
protected internal virtual void OnStylusLeave(
StylusEventArgs
e) {}
1407
protected internal virtual void OnPreviewStylusInRange(
StylusEventArgs
e) {}
1426
protected internal virtual void OnStylusInRange(
StylusEventArgs
e) {}
1445
protected internal virtual void OnPreviewStylusOutOfRange(
StylusEventArgs
e) {}
1464
protected internal virtual void OnStylusOutOfRange(
StylusEventArgs
e) {}
1521
protected internal virtual void OnGotStylusCapture(
StylusEventArgs
e) {}
1540
protected internal virtual void OnLostStylusCapture(
StylusEventArgs
e) {}
System\Windows\Generated\UIElement.cs (28)
1409
private static void OnPreviewStylusUpThunk(object sender,
StylusEventArgs
e)
1434
private static void OnStylusUpThunk(object sender,
StylusEventArgs
e)
1459
private static void OnPreviewStylusMoveThunk(object sender,
StylusEventArgs
e)
1484
private static void OnStylusMoveThunk(object sender,
StylusEventArgs
e)
1509
private static void OnPreviewStylusInAirMoveThunk(object sender,
StylusEventArgs
e)
1534
private static void OnStylusInAirMoveThunk(object sender,
StylusEventArgs
e)
1559
private static void OnStylusEnterThunk(object sender,
StylusEventArgs
e)
1584
private static void OnStylusLeaveThunk(object sender,
StylusEventArgs
e)
1609
private static void OnPreviewStylusInRangeThunk(object sender,
StylusEventArgs
e)
1634
private static void OnStylusInRangeThunk(object sender,
StylusEventArgs
e)
1659
private static void OnPreviewStylusOutOfRangeThunk(object sender,
StylusEventArgs
e)
1684
private static void OnStylusOutOfRangeThunk(object sender,
StylusEventArgs
e)
1759
private static void OnGotStylusCaptureThunk(object sender,
StylusEventArgs
e)
1784
private static void OnLostStylusCaptureThunk(object sender,
StylusEventArgs
e)
3208
protected virtual void OnPreviewStylusUp(
StylusEventArgs
e) {}
3227
protected virtual void OnStylusUp(
StylusEventArgs
e) {}
3246
protected virtual void OnPreviewStylusMove(
StylusEventArgs
e) {}
3265
protected virtual void OnStylusMove(
StylusEventArgs
e) {}
3284
protected virtual void OnPreviewStylusInAirMove(
StylusEventArgs
e) {}
3303
protected virtual void OnStylusInAirMove(
StylusEventArgs
e) {}
3322
protected virtual void OnStylusEnter(
StylusEventArgs
e) {}
3341
protected virtual void OnStylusLeave(
StylusEventArgs
e) {}
3360
protected virtual void OnPreviewStylusInRange(
StylusEventArgs
e) {}
3379
protected virtual void OnStylusInRange(
StylusEventArgs
e) {}
3398
protected virtual void OnPreviewStylusOutOfRange(
StylusEventArgs
e) {}
3417
protected virtual void OnStylusOutOfRange(
StylusEventArgs
e) {}
3474
protected virtual void OnGotStylusCapture(
StylusEventArgs
e) {}
3493
protected virtual void OnLostStylusCapture(
StylusEventArgs
e) {}
System\Windows\Generated\UIElement3D.cs (14)
985
protected internal virtual void OnPreviewStylusUp(
StylusEventArgs
e) {}
1004
protected internal virtual void OnStylusUp(
StylusEventArgs
e) {}
1023
protected internal virtual void OnPreviewStylusMove(
StylusEventArgs
e) {}
1042
protected internal virtual void OnStylusMove(
StylusEventArgs
e) {}
1061
protected internal virtual void OnPreviewStylusInAirMove(
StylusEventArgs
e) {}
1080
protected internal virtual void OnStylusInAirMove(
StylusEventArgs
e) {}
1099
protected internal virtual void OnStylusEnter(
StylusEventArgs
e) {}
1118
protected internal virtual void OnStylusLeave(
StylusEventArgs
e) {}
1137
protected internal virtual void OnPreviewStylusInRange(
StylusEventArgs
e) {}
1156
protected internal virtual void OnStylusInRange(
StylusEventArgs
e) {}
1175
protected internal virtual void OnPreviewStylusOutOfRange(
StylusEventArgs
e) {}
1194
protected internal virtual void OnStylusOutOfRange(
StylusEventArgs
e) {}
1251
protected internal virtual void OnGotStylusCapture(
StylusEventArgs
e) {}
1270
protected internal virtual void OnLostStylusCapture(
StylusEventArgs
e) {}
System\Windows\Input\Stylus\Common\StylusEventHandler.cs (1)
10
public delegate void StylusEventHandler(object sender,
StylusEventArgs
e);
System\Windows\Input\Stylus\Pointer\PointerLogic.cs (11)
964
private bool IsTouchPromotionEvent(
StylusEventArgs
stylusEventArgs)
990
StylusEventArgs
args;
1030
StylusEventArgs
eventArgsPreview = (
StylusEventArgs
)e.StagingItem.Input;
1033
StylusEventArgs
eventArgsMain;
1071
StylusEventArgs
stylusEventArgs = e.StagingItem.Input as
StylusEventArgs
;
1086
StylusEventArgs
stylusEventArgs = e.StagingItem.Input as
StylusEventArgs
;
1123
private void PromoteMainToTouch(ProcessInputEventArgs e,
StylusEventArgs
stylusEventArgs)
1266
StylusEventArgs
stylusDownEventArgs = args.StagingItem.Input as StylusDownEventArgs;
System\Windows\Input\Stylus\Pointer\PointerStylusDevice.cs (2)
1048
StylusEventArgs
lostCapture = new StylusEventArgs(StylusDevice, timestamp)
1057
StylusEventArgs
gotCapture = new StylusEventArgs(StylusDevice, timestamp)
System\Windows\Input\Stylus\Wisp\WispLogic.cs (21)
1057
StylusEventArgs
stylusDownEventArgs = e.StagingItem.Input as StylusDownEventArgs;
1262
StylusEventArgs
eventArgsOutOfRange = (
StylusEventArgs
)e.StagingItem.Input;
1324
StylusEventArgs
stylusMove = (
StylusEventArgs
)e.StagingItem.Input;
1358
var
stylusArgs = e.StagingItem.Input as
StylusEventArgs
;
1377
StylusEventArgs
args;
1414
StylusEventArgs
eventArgsPreview = (
StylusEventArgs
)e.StagingItem.Input;
1417
StylusEventArgs
eventArgsMain;
1455
StylusEventArgs
stylusEventArgs = e.StagingItem.Input as
StylusEventArgs
;
1467
StylusEventArgs
stylusEventArgs = stagingItem.Input as
StylusEventArgs
;
1522
private static bool IsTouchPromotionEvent(
StylusEventArgs
stylusEventArgs)
1541
private void PromoteMainToTouch(ProcessInputEventArgs e,
StylusEventArgs
stylusEventArgs)
1728
StylusEventArgs
stylusArgs = stagingItem.Input as
StylusEventArgs
;
2891
StylusEventArgs
eventArgs = (
StylusEventArgs
)e.StagingItem.Input;
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (3)
626
StylusEventArgs
lostCapture = new StylusEventArgs(StylusDevice, timestamp)
635
StylusEventArgs
gotCapture = new StylusEventArgs(StylusDevice, timestamp)
1737
internal RawMouseActions GetMouseActionsFromStylusEventAndPlaybackCachedDown(RoutedEvent stylusEvent,
StylusEventArgs
stylusArgs)
System\Windows\StylusOverProperty.cs (1)
38
StylusEventArgs
stylusEventArgs = new StylusEventArgs(Stylus.CurrentStylusDevice, Environment.TickCount)
PresentationFramework (9)
MS\Internal\Ink\EditingCoordinator.cs (8)
632
private void OnInkCanvasStylusInAirOrInRangeMove(object sender,
StylusEventArgs
args)
662
private void OnInkCanvasStylusOutOfRange(object sender,
StylusEventArgs
args)
708
StylusEventArgs
stylusEventArgs = args as
StylusEventArgs
;
957
_inkCanvas.AddHandler(Stylus.StylusMoveEvent, new StylusEventHandler(OnInkCanvasDeviceMove<
StylusEventArgs
>));
958
_inkCanvas.AddHandler(UIElement.LostStylusCaptureEvent, new StylusEventHandler(OnInkCanvasLostDeviceCapture<
StylusEventArgs
>));
1010
_inkCanvas.RemoveHandler(Stylus.StylusMoveEvent, new StylusEventHandler(OnInkCanvasDeviceMove<
StylusEventArgs
>));
1011
_inkCanvas.RemoveHandler(UIElement.LostStylusCaptureEvent, new StylusEventHandler(OnInkCanvasLostDeviceCapture<
StylusEventArgs
>));
System\Windows\Controls\InkCanvas.cs (1)
62
new StylusEventHandler(_OnDeviceUp<
StylusEventArgs
>));