[MonoTouch] Monotouch.Dialog: how to preselect an element from a RadioGroup?
René Ruppert
rene.ruppert at googlemail.com
Thu Mar 1 20:46:33 UTC 2012
Hi,
This is duplicate from SO
(http://stackoverflow.com/questions/9518598/monotouch-dialog-how-to-preselec
t-an-element-from-a-radiogroup) but maybe the MT.Dialog pros can be found
here and not on SO, so Ill give it a try:
I have an element in my Monotouch.Dialog Controller that discloses a list of
possible selections (RadioGroup with many RadioElements).
If one of the elements is picked, I pop one controller of my stack and the
element that showed the subitems now shows the selected items value.
However, if the dialog gets initialized I want to set the element's current
value.
I tried setting the section's "Selected" property but that does not seem to
do the trick.
I noticed that the RadioGroup constructor has an index that allows selecting
but how can I change the selection *afterwards*?
René
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/monotouch/attachments/20120301/20b0063c/attachment.html>
More information about the MonoTouch
mailing list