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 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(); }
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(); }
public void Initialize(Orientation dir) { ViewObject = new CustomSplitView(); if (dir == Orientation.Horizontal) { Widget.IsVertical = true; } viewDelegate = new SplitViewDelegate() { PanedBackend = this }; Widget.Delegate = viewDelegate; }