public SplitViewController()
        {
            View.Bounds = new RectangleF(0, 0, UIScreen.MainScreen.Bounds.Width, UIScreen.MainScreen.Bounds.Height);
            Delegate = new SplitViewDelegate();

            this.ViewControllers = new UIViewController[] { new EmptyViewController(), new EmptyViewController() };
        }
        public SplitViewController()
        {
            View.Bounds = new RectangleF(0, 0, UIScreen.MainScreen.Bounds.Width, UIScreen.MainScreen.Bounds.Height);
            Delegate    = new SplitViewDelegate();

            this.ViewControllers = new UIViewController[] { new EmptyViewController(), new EmptyViewController() };
        }
Example #3
0
        public SplitViewContoller() : base()
        {
            // create our master and detail views
            masterView = new MasterViewController();
            detailView = new DetailViewController();

            ViewControllers = new UIViewController[]
            { masterView, detailView };                     // order is important: master first, detail second

            Delegate = new SplitViewDelegate();
        }
Example #4
0
        public SplitViewContoller()
            : base()
        {
            // create our master and detail views
            masterView = new MasterViewController ();
            detailView = new DetailViewController ();

            ViewControllers = new UIViewController[]
                { masterView, detailView }; // order is important: master first, detail second

            Delegate = new SplitViewDelegate();
        }
Example #5
0
 public void Initialize(Orientation dir)
 {
     ViewObject = new CustomSplitView();
     if (dir == Orientation.Horizontal)
     {
         Widget.IsVertical = true;
     }
     viewDelegate = new SplitViewDelegate()
     {
         PanedBackend = this
     };
     Widget.Delegate = viewDelegate;
 }