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