Skip to content

Is there any way to make AvatarView clickable? #675

Closed Answered by xDaijobu
nosferatu500 asked this question in Q&A
Discussion options

You must be logged in to vote

You can make an element tappable by using a GestureRecognizer

<xct:AvatarView Text="Avatar">
    <xct:AvatarView.GestureRecognizers>
        <TapGestureRecognizer Command="{Binding GoToProfileCommand}"/>
    </xct:AvatarView.GestureRecognizers>
</xct:AvatarView>

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@GeorgeLeithead
Comment options

Answer selected by VladislavAntonyuk
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants