Monotuch:RadioGroup选择了活动

时间:2014-06-28 11:46:29

标签: ios xamarin.ios xampp

我如何处理无线电组中选择的无线电?

var root = new RootElement ("Meals") {
    new Section ("Dinner"){
            new RootElement ("Dessert", new RadioGroup ("dessert", 2)) {
                new Section () {
                    new RadioElement ("Ice Cream", "dessert"),
                    new RadioElement ("Milkshake", "dessert"),
                    new RadioElement ("Chocolate Cake", "dessert")
                }
            }
        }
    }

1 个答案:

答案 0 :(得分:0)

您可以使用" Tapped" RadioElement类的事件。