using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Input; namespace Tango.Core.EventArguments { public class MouseOrTouchEventArgs : EventArgs { public Point Location { get; set; } public Object Source { get; set; } public Object OriginalSource { get; set; } internal Func GetPositionAction { get; set; } public bool Handled { get; set; } public TouchDevice TouchDevice { get; set; } public StylusDevice StylusDevice { get; set; } public Point GetPosition(IInputElement relativeTo) { return GetPositionAction(relativeTo); } } }