public class LoginView

{

 public DialogViewController dv;

 public LoginView ()

 {

   var root = CreateRoot ();

  dv = new DialogViewController (root, true);

   }

 RootElement CreateRoot ()

 { return new RootElement ("Settings") {

  new Section (){

  new BooleanElement ("Airplane Mode", false),

  new RootElement ("Notifications", 0, 0) {

   new Section (null, "Turn off Notifications to disable Sounds\n" +

        "Alerts and Home Screen Badges for the\napplications below."){

   new BooleanElement ("Notifications", false)

   }

  }}} ;

 }
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to