Make stack layout clickable

How to make stack layout clickable? tapped event take time ,i need click event instead of it.can any one help on it?

Tagged:

Answers

  • AlessandroCaliaroAlessandroCaliaro ITMember ✭✭✭✭✭

    stacklayout is a container and has not the possibility to be clickable

  • PiumiWelahettiPiumiWelahetti USMember ✭✭

    Then can we make frame clickable?

  • seanydaseanyda GBMember ✭✭✭✭✭
    edited October 2017

    Remove Comment - misread the question :(

  • NMackayNMackay GBInsider, University mod

    https://developer.xamarin.com/api/type/Xamarin.Forms.Frame/

    Please refer to the API documentation, there is no click event for frame, you can add a tap gesture, if you are using the latest stable version of forms (2.4.0) there is a major issue with Tap gestures that will be addressed in the next service release (hopefully)

  • PiumiWelahettiPiumiWelahetti USMember ✭✭

    thank you for all replies ,i used xlab extend button for this and then i use click event of that button ,but still i found there is a delay of rendering .basically i want to create something like this

    I have a grid with 2 columns and a row.i created 2 list which is loading by code befind when loading the app. and to display it i tried stack layout with frame it looks the way i wanted but still the tapped which i used for stack layout, is taking time to render, and then i tried xlab extend button ,still the slowness is there and i m unable to get image size.

    Could any one help on this ?? :(

Sign In or Register to comment.