private void DoubleTapCalled(object sender, GestureEventArgs e) { if (DoubleTapCommand != null && DoubleTapCommand.CanExecute(sender)) { DoubleTapCommand.Execute(sender); } }
public void OnDoubleTap() { if (DoubleTapCommand != null && DoubleTapCommand.CanExecute(null)) { DoubleTapCommand.Execute(null); } EventHandler handler = DoubleTap; if (handler != null) { handler(this, new EventArgs()); } }