【发布时间】:2012-07-19 11:08:15
【问题描述】:
我有两个 RootElement 元素被装箱。见代码。最深的级别应该有可点击的StringElement,允许选择当前评论。但是,由于缺少 RadioGroup,我收到了 NULL 引用错误。
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...
【问题讨论】:
标签: c# xamarin.ios monotouch.dialog