private void DoubleTapCalled(object sender, GestureEventArgs e)
 {
     if (DoubleTapCommand != null && DoubleTapCommand.CanExecute(sender))
     {
         DoubleTapCommand.Execute(sender);
     }
 }
Exemple #2
0
        public void OnDoubleTap()
        {
            if (DoubleTapCommand != null && DoubleTapCommand.CanExecute(null))
            {
                DoubleTapCommand.Execute(null);
            }

            EventHandler handler = DoubleTap;

            if (handler != null)
            {
                handler(this, new EventArgs());
            }
        }