Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

Is it possible to set event handlers for "OnBeginTap" and "OnEndTap?"

$
0
0

This is probably not possible out of the box in Xamarin.Forms and I have been struggling to find a way to do this in a custom renderer, but is it possible to capture the events that occur when a tap begins and when a tap ends? I have a TapGestureRecognizer inside a StackLayout and I would like to perform certain actions to that element on those events. For example, I'd like to change the background color during the length of the tap event, or add a border, etc.

How would I go about that for both iOS and Android?


Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>