Пример #1
0
//		static FlyoutNavigationController flyout;
        public static UIViewController Create()
        {
//			flyout = new FlyoutNavigationController () {
//				ForceMenuOpen = false,
//				AlwaysShowLandscapeMenu = false,
//				NavigationRoot = new RootElement("")
//				{
//					new Section(){
//						new StringElement("Sales"),
//					},
//
//				}
//			};
//			flyout.ViewControllers = new UIViewController[] {
            return(new UINavigationController(InvoiceViewController = new InvoiceViewController())
            {
                NavigationBar =
                {
                    BarStyle    = UIBarStyle.Black,
                    Translucent = true,
                }
            });
//				,
//			};
//			return flyout;
        }
Пример #2
0
 //        static FlyoutNavigationController flyout;
 public static UIViewController Create()
 {
     //			flyout = new FlyoutNavigationController () {
     //				ForceMenuOpen = false,
     //				AlwaysShowLandscapeMenu = false,
     //				NavigationRoot = new RootElement("")
     //				{
     //					new Section(){
     //						new StringElement("Sales"),
     //					},
     //
     //				}
     //			};
     //			flyout.ViewControllers = new UIViewController[] {
     return new UINavigationController (InvoiceViewController = new InvoiceViewController ()) {
         NavigationBar = {
             BarStyle = UIBarStyle.Black,
             Translucent = true,
         }
     };
     //				,
     //			};
     //			return flyout;
 }