private void OnFinishTapped() { var cmd = Touch.GetFinishTap(Element); var param = Touch.GetFinishTapParameter(Element); if (cmd?.CanExecute(param) ?? false) { cmd.Execute(param); } }
private void FinishTapExecute() { if (commandFinishTap != null) { var param = Touch.GetFinishTapParameter(Element); if (commandFinishTap.CanExecute(param)) { commandFinishTap.Execute(param); } } }
private void FinishTap() { var cmd = Touch.GetFinishTap(Element); var param = Touch.GetFinishTapParameter(Element); if (cmd == null) { return; } if (cmd.CanExecute(param)) { cmd.Execute(param); } }