1 instantiation of TouchEventArgs
PresentationCore (1)
Core\CSharp\System\Windows\Input\TouchDevice.cs (1)
1022
TouchEventArgs touchEventArgs = new
TouchEventArgs
(this, Environment.TickCount);
103 references to TouchEventArgs
PresentationCore (103)
Core\CSharp\System\Windows\Generated\ContentElement.cs (20)
2121
public event EventHandler<
TouchEventArgs
> PreviewTouchDown
2130
protected internal virtual void OnPreviewTouchDown(
TouchEventArgs
e) {}
2141
public event EventHandler<
TouchEventArgs
> TouchDown
2150
protected internal virtual void OnTouchDown(
TouchEventArgs
e) {}
2161
public event EventHandler<
TouchEventArgs
> PreviewTouchMove
2170
protected internal virtual void OnPreviewTouchMove(
TouchEventArgs
e) {}
2181
public event EventHandler<
TouchEventArgs
> TouchMove
2190
protected internal virtual void OnTouchMove(
TouchEventArgs
e) {}
2201
public event EventHandler<
TouchEventArgs
> PreviewTouchUp
2210
protected internal virtual void OnPreviewTouchUp(
TouchEventArgs
e) {}
2221
public event EventHandler<
TouchEventArgs
> TouchUp
2230
protected internal virtual void OnTouchUp(
TouchEventArgs
e) {}
2241
public event EventHandler<
TouchEventArgs
> GotTouchCapture
2250
protected internal virtual void OnGotTouchCapture(
TouchEventArgs
e) {}
2261
public event EventHandler<
TouchEventArgs
> LostTouchCapture
2270
protected internal virtual void OnLostTouchCapture(
TouchEventArgs
e) {}
2281
public event EventHandler<
TouchEventArgs
> TouchEnter
2290
protected internal virtual void OnTouchEnter(
TouchEventArgs
e) {}
2301
public event EventHandler<
TouchEventArgs
> TouchLeave
2310
protected internal virtual void OnTouchLeave(
TouchEventArgs
e) {}
Core\CSharp\System\Windows\Generated\UIElement.cs (40)
875
EventManager.RegisterClassHandler(type, Touch.PreviewTouchDownEvent, new EventHandler<
TouchEventArgs
>(UIElement.OnPreviewTouchDownThunk), false);
876
EventManager.RegisterClassHandler(type, Touch.TouchDownEvent, new EventHandler<
TouchEventArgs
>(UIElement.OnTouchDownThunk), false);
877
EventManager.RegisterClassHandler(type, Touch.PreviewTouchMoveEvent, new EventHandler<
TouchEventArgs
>(UIElement.OnPreviewTouchMoveThunk), false);
878
EventManager.RegisterClassHandler(type, Touch.TouchMoveEvent, new EventHandler<
TouchEventArgs
>(UIElement.OnTouchMoveThunk), false);
879
EventManager.RegisterClassHandler(type, Touch.PreviewTouchUpEvent, new EventHandler<
TouchEventArgs
>(UIElement.OnPreviewTouchUpThunk), false);
880
EventManager.RegisterClassHandler(type, Touch.TouchUpEvent, new EventHandler<
TouchEventArgs
>(UIElement.OnTouchUpThunk), false);
881
EventManager.RegisterClassHandler(type, Touch.GotTouchCaptureEvent, new EventHandler<
TouchEventArgs
>(UIElement.OnGotTouchCaptureThunk), false);
882
EventManager.RegisterClassHandler(type, Touch.LostTouchCaptureEvent, new EventHandler<
TouchEventArgs
>(UIElement.OnLostTouchCaptureThunk), false);
883
EventManager.RegisterClassHandler(type, Touch.TouchEnterEvent, new EventHandler<
TouchEventArgs
>(UIElement.OnTouchEnterThunk), false);
884
EventManager.RegisterClassHandler(type, Touch.TouchLeaveEvent, new EventHandler<
TouchEventArgs
>(UIElement.OnTouchLeaveThunk), false);
2869
private static void OnPreviewTouchDownThunk(object sender,
TouchEventArgs
e)
2898
private static void OnTouchDownThunk(object sender,
TouchEventArgs
e)
2927
private static void OnPreviewTouchMoveThunk(object sender,
TouchEventArgs
e)
2956
private static void OnTouchMoveThunk(object sender,
TouchEventArgs
e)
2985
private static void OnPreviewTouchUpThunk(object sender,
TouchEventArgs
e)
3014
private static void OnTouchUpThunk(object sender,
TouchEventArgs
e)
3043
private static void OnGotTouchCaptureThunk(object sender,
TouchEventArgs
e)
3072
private static void OnLostTouchCaptureThunk(object sender,
TouchEventArgs
e)
3101
private static void OnTouchEnterThunk(object sender,
TouchEventArgs
e)
3130
private static void OnTouchLeaveThunk(object sender,
TouchEventArgs
e)
4399
public event EventHandler<
TouchEventArgs
> PreviewTouchDown
4408
protected virtual void OnPreviewTouchDown(
TouchEventArgs
e) {}
4419
public event EventHandler<
TouchEventArgs
> TouchDown
4428
protected virtual void OnTouchDown(
TouchEventArgs
e) {}
4439
public event EventHandler<
TouchEventArgs
> PreviewTouchMove
4448
protected virtual void OnPreviewTouchMove(
TouchEventArgs
e) {}
4459
public event EventHandler<
TouchEventArgs
> TouchMove
4468
protected virtual void OnTouchMove(
TouchEventArgs
e) {}
4479
public event EventHandler<
TouchEventArgs
> PreviewTouchUp
4488
protected virtual void OnPreviewTouchUp(
TouchEventArgs
e) {}
4499
public event EventHandler<
TouchEventArgs
> TouchUp
4508
protected virtual void OnTouchUp(
TouchEventArgs
e) {}
4519
public event EventHandler<
TouchEventArgs
> GotTouchCapture
4528
protected virtual void OnGotTouchCapture(
TouchEventArgs
e) {}
4539
public event EventHandler<
TouchEventArgs
> LostTouchCapture
4548
protected virtual void OnLostTouchCapture(
TouchEventArgs
e) {}
4559
public event EventHandler<
TouchEventArgs
> TouchEnter
4568
protected virtual void OnTouchEnter(
TouchEventArgs
e) {}
4579
public event EventHandler<
TouchEventArgs
> TouchLeave
4588
protected virtual void OnTouchLeave(
TouchEventArgs
e) {}
Core\CSharp\System\Windows\Generated\UIElement3D.cs (20)
1827
public event EventHandler<
TouchEventArgs
> PreviewTouchDown
1836
protected internal virtual void OnPreviewTouchDown(
TouchEventArgs
e) {}
1847
public event EventHandler<
TouchEventArgs
> TouchDown
1856
protected internal virtual void OnTouchDown(
TouchEventArgs
e) {}
1867
public event EventHandler<
TouchEventArgs
> PreviewTouchMove
1876
protected internal virtual void OnPreviewTouchMove(
TouchEventArgs
e) {}
1887
public event EventHandler<
TouchEventArgs
> TouchMove
1896
protected internal virtual void OnTouchMove(
TouchEventArgs
e) {}
1907
public event EventHandler<
TouchEventArgs
> PreviewTouchUp
1916
protected internal virtual void OnPreviewTouchUp(
TouchEventArgs
e) {}
1927
public event EventHandler<
TouchEventArgs
> TouchUp
1936
protected internal virtual void OnTouchUp(
TouchEventArgs
e) {}
1947
public event EventHandler<
TouchEventArgs
> GotTouchCapture
1956
protected internal virtual void OnGotTouchCapture(
TouchEventArgs
e) {}
1967
public event EventHandler<
TouchEventArgs
> LostTouchCapture
1976
protected internal virtual void OnLostTouchCapture(
TouchEventArgs
e) {}
1987
public event EventHandler<
TouchEventArgs
> TouchEnter
1996
protected internal virtual void OnTouchEnter(
TouchEventArgs
e) {}
2007
public event EventHandler<
TouchEventArgs
> TouchLeave
2016
protected internal virtual void OnTouchLeave(
TouchEventArgs
e) {}
Core\CSharp\System\Windows\Input\Touch.cs (10)
15
internal static readonly RoutedEvent PreviewTouchDownEvent = EventManager.RegisterRoutedEvent("PreviewTouchDown", RoutingStrategy.Tunnel, typeof(EventHandler<
TouchEventArgs
>), typeof(Touch));
16
internal static readonly RoutedEvent TouchDownEvent = EventManager.RegisterRoutedEvent("TouchDown", RoutingStrategy.Bubble, typeof(EventHandler<
TouchEventArgs
>), typeof(Touch));
18
internal static readonly RoutedEvent PreviewTouchMoveEvent = EventManager.RegisterRoutedEvent("PreviewTouchMove", RoutingStrategy.Tunnel, typeof(EventHandler<
TouchEventArgs
>), typeof(Touch));
19
internal static readonly RoutedEvent TouchMoveEvent = EventManager.RegisterRoutedEvent("TouchMove", RoutingStrategy.Bubble, typeof(EventHandler<
TouchEventArgs
>), typeof(Touch));
21
internal static readonly RoutedEvent PreviewTouchUpEvent = EventManager.RegisterRoutedEvent("PreviewTouchUp", RoutingStrategy.Tunnel, typeof(EventHandler<
TouchEventArgs
>), typeof(Touch));
22
internal static readonly RoutedEvent TouchUpEvent = EventManager.RegisterRoutedEvent("TouchUp", RoutingStrategy.Bubble, typeof(EventHandler<
TouchEventArgs
>), typeof(Touch));
24
internal static readonly RoutedEvent GotTouchCaptureEvent = EventManager.RegisterRoutedEvent("GotTouchCapture", RoutingStrategy.Bubble, typeof(EventHandler<
TouchEventArgs
>), typeof(Touch));
25
internal static readonly RoutedEvent LostTouchCaptureEvent = EventManager.RegisterRoutedEvent("LostTouchCapture", RoutingStrategy.Bubble, typeof(EventHandler<
TouchEventArgs
>), typeof(Touch));
27
internal static readonly RoutedEvent TouchEnterEvent = EventManager.RegisterRoutedEvent("TouchEnter", RoutingStrategy.Direct, typeof(EventHandler<
TouchEventArgs
>), typeof(Touch));
28
internal static readonly RoutedEvent TouchLeaveEvent = EventManager.RegisterRoutedEvent("TouchLeave", RoutingStrategy.Direct, typeof(EventHandler<
TouchEventArgs
>), typeof(Touch));
Core\CSharp\System\Windows\Input\TouchDevice.cs (11)
663
TouchEventArgs
e = CreateEventArgs(Touch.LostTouchCaptureEvent);
677
TouchEventArgs
e = CreateEventArgs(Touch.GotTouchCaptureEvent);
1014
TouchEventArgs
touchEventArgs = CreateEventArgs(isLeave ? Touch.TouchLeaveEvent : Touch.TouchEnterEvent);
1019
private
TouchEventArgs
CreateEventArgs(RoutedEvent routedEvent)
1022
TouchEventArgs
touchEventArgs = new TouchEventArgs(this, Environment.TickCount);
1034
TouchEventArgs
e = CreateEventArgs(Touch.PreviewTouchDownEvent);
1051
TouchEventArgs
e = CreateEventArgs(Touch.PreviewTouchMoveEvent);
1068
TouchEventArgs
e = CreateEventArgs(Touch.PreviewTouchUpEvent);
1117
TouchEventArgs
promotedTouchEventArgs = CreateEventArgs(promotedTouchEvent);
1125
PromoteMainToManipulation(manipulatableElement, (
TouchEventArgs
)inputEventArgs);
1167
private void PromoteMainToManipulation(UIElement manipulatableElement,
TouchEventArgs
touchEventArgs)
Core\CSharp\System\Windows\Input\TouchEventArgs.cs (2)
62
EventHandler<
TouchEventArgs
> handler = (EventHandler<
TouchEventArgs
>)genericHandler;