From 17fdde66d94155fc62a034fa6658995bef6fd6e5 Mon Sep 17 00:00:00 2001 From: Jason Smith Date: Tue, 22 Mar 2016 13:02:25 -0700 Subject: Initial import --- Xamarin.Forms.Core/PanUpdatedEventArgs.cs | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Xamarin.Forms.Core/PanUpdatedEventArgs.cs (limited to 'Xamarin.Forms.Core/PanUpdatedEventArgs.cs') diff --git a/Xamarin.Forms.Core/PanUpdatedEventArgs.cs b/Xamarin.Forms.Core/PanUpdatedEventArgs.cs new file mode 100644 index 00000000..4c9e9481 --- /dev/null +++ b/Xamarin.Forms.Core/PanUpdatedEventArgs.cs @@ -0,0 +1,27 @@ +using System; + +namespace Xamarin.Forms +{ + public class PanUpdatedEventArgs : EventArgs + { + public PanUpdatedEventArgs(GestureStatus type, int gestureId, double totalx, double totaly) : this(type, gestureId) + { + TotalX = totalx; + TotalY = totaly; + } + + public PanUpdatedEventArgs(GestureStatus type, int gestureId) + { + StatusType = type; + GestureId = gestureId; + } + + public int GestureId { get; } + + public GestureStatus StatusType { get; } + + public double TotalX { get; } + + public double TotalY { get; } + } +} \ No newline at end of file -- cgit v1.2.3