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