I also needed to provide some way for my user to "multi-select" options from
a Monotouch.Dialog component. I found by using a "RadioGroup" as the root
and "CheckBoxElements" within the "Section" this worked great! (Simple
sample shown below)

Thanks,
Jim

http://monotouch.2284126.n4.nabble.com/file/n4623936/Screen_shot_2012-05-10_at_12.23.44_PM.png
 
i.e. 
        return new RootElement ("Filter Manager") { 
                new Section ("Section 1"){
                    new RootElement ("Type 1", new  RadioGroup (0)){
                        new Section (){ 
                                new CheckboxElement ("choice 1"), 
                                new CheckboxElement ("choice 2"), 
                                new CheckboxElement ("choice 3"), 
                                new CheckboxElement ("choice 4"), 
                                new CheckboxElement ("choice 5"), 
                        }                                               
                    }, 
                    new RootElement ("Type 2", new RadioGroup (0)){
                        new Section (){
                            new CheckboxElement ("choice 1"),
                            new CheckboxElement ("choice 2"),
                            new CheckboxElement ("choice 3"), 
                            new CheckboxElement ("choice 4"),
                        }
                    }, 
                        
                new Section ("Search"){
                    new EntryElement ("Asset", "Enter something",
String.Empty),
                    new EntryElement ("Description", "Enter something", 
String.Empty)
                }  ,
                }
        } ;

--
View this message in context: 
http://monotouch.2284126.n4.nabble.com/MT-Dialog-multi-select-element-tp4516738p4623936.html
Sent from the MonoTouch mailing list archive at Nabble.com.
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to