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

How to isentify the 'selected' row in a grid

$
0
0

I have defined a grid in XAML with a button in each row. I want to avoid assigning a separate clicked event handler for each button but when a button is clicked I want to identify which row the clicked button is on.

Is there a way to obtain the row from the button object passed to the clicked even thandler.


Viewing all articles
Browse latest Browse all 58056

Trending Articles



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