I'm writing some codes for iOS using c# in Xamarin Studio. In a dialogViewController , I'm creating a rootElement that has several Sections.How can I Align Right ,Caption and Elements of a Section. I'm creating the rootElement like this:
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;
}