Forum Xamarin.Forms
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

TapGestureRecognizer on stack inside ViewCell

GaganSinghGaganSingh USUniversity ✭✭✭
edited May 2015 in Xamarin.Forms

Is it possible to get a tap on a stacklayout inside a ViewCell? It seems like ViewCell takes all the taps.

`public class MobileView : ViewCell
public MobileView (Employee profile)
var tapGestureRecognizer = new TapGestureRecognizer();
tapGestureRecognizer.Tapped += (s, e) => {
// handle the tap

        var msgStack = new StackLayout {
            HorizontalOptions = LayoutOptions.EndAndExpand,
            Children = {
                new Image { Source = "conversations_icon.png" }

    View = msgStack;


Sign In or Register to comment.