1

我有两个RootElement元素装箱。见代码。最深的级别应该是StringElement可点击的,允许选择当前的评论。但是,由于缺少RadioGroup. MT.Dialog可以吗?

Root = new RootElement ("Annotations")
{
  new Section ("Review")
  {
    // This element's caption is supposed to be whatever gets selected deep down.
    new RootElement("Reviews", new RadioGroup(0))
    {
      new Section("My Reviews")
      {
        new RootElement("Local profile")
       {
         new Section()
         {
           // Tapping this element should make "Local profile selected" appear as caption of the "Reviews" RootElement.
           new RadioElement("Activate", "Local profile selected")
         },
...more elements...
4

1 回答 1

3

指定无线电组,如下所示:

new RootElement ("Local Profile", new RadioGroup (0)) {
    ....
}
于 2012-07-19T13:35:47.170 回答