【发布时间】:2014-04-07 13:35:20
【问题描述】:
我正在 Xamarin Studio 中使用 c# 为 iOS 编写一些代码。在 dialogViewController 中,我正在创建一个具有多个 Sections 的 rootElement。我如何对齐 Section 的 Right 、Caption 和 Elements 。我正在像这样创建 rootElement:
RootElement CreateRootElement ()
{
return new RootElement ("RootElement")
{
new Section ("Caption1") {
(createFirstElement ())
},
new Section ("Caption2")) {
(createSecondElement ())
}
};
}
List<Element> createFirstElement ()
{
List<Element> myList;
//fill this list
return myList;
}
【问题讨论】:
标签: c# ios xamarin.ios xamarin monotouch.dialog