Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Detecting which RadioElement has been tapped

$
0
0

Hi,

If I have a pile of UIButtons, I can use the same TouchUpInside event handler for each button like this

private void ButtonClicked(object s, EventArgs e)
{
   UIButton btn = (UIButton)s;
   switch(btn.Tag)
   { // }
}

RadioElements use Tapped NSAction. Is there a way I can detect which RadioElement has been tapped? I need it for a configuration system.

Paul


Viewing all articles
Browse latest Browse all 204402

Trending Articles



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