4
Answers

How to set id for Button in code behind in Xamarin Android

Ashwin Kmr

Ashwin Kmr

6y
7.3k
1
Hi Guys,
 
 
I am trying to set id for my button in code behind to acheive my requirement.If i set in xml it is working fine.
I have used  SetId method to set the id in code behind.But it is not working.Can anyone share your valuable answers.
 
Thanks,
Ashwin 
Answers (4)