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

Button within each cell of a listview: How to figure out which cell is holding the clicked button?

$
0
0

Hello, I have a listview, where each cell contains a button and some text. When the button is clicked I want to know which cell (containing the clicked button) was pressed. Like cell with index 3 contains the clicked button, etc.

I currently have the button created in xaml and using "Clicked="checkBoxClicked"" . So in the code behind when I create the method for checkBoxClicked what would I do to find what I'm looking for?

Any help would be greatly appreciated! Thanks!


Viewing all articles
Browse latest Browse all 91519

Trending Articles



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