internal virtual void OnPointerCanceledInternal(object sender, PointerRoutedEventArgs args) { if (!args.Handled) { PointerCanceled?.Invoke(sender, args); } }
protected override bool OnCancel(MotionEvent e) { try { var args = GetPointerEventArgs(e, 0); PointerCanceled?.Invoke(Target, args); return(args.Handled); } catch (Exception ex) { Windows.UI.Xaml.Application.Current.RaiseRecoverableUnhandledExceptionOrLog(ex, this); return(false); } }