Created
January 21, 2013 23:55
-
-
Save darbio/4590700 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using MonoTouch.Dialog; | |
| using MonoTouch.UIKit; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| namespace IQX.OneList.Mobile.iOS | |
| { | |
| public class ItemElementDialogViewController : DialogViewController | |
| { | |
| public ItemElementDialogViewController () : base (null) | |
| { | |
| } | |
| RootElement CreateRoot () | |
| { | |
| return new RootElement("Test") { | |
| new Section () { | |
| new RootElement ("Sub", a => { | |
| return new ItemElementDialogViewController (); | |
| }), | |
| new StringElement ("Caption") | |
| } | |
| }; | |
| } | |
| public override void LoadView () | |
| { | |
| this.Root = CreateRoot (); | |
| base.LoadView (); | |
| } | |
| } | |
| } | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment