Inheritance: MonoKit.UI.TableViewController
Exemplo n.º 1
0
        public void GotoDeck(Element element)
        {
            var leftController  = new LeftController();
            var rightController = new RightController();

            var centerController = new CenterController(false);

            centerController.Title = "Center";

            var deckController = new ViewDeckController(centerController, leftController, rightController);

            deckController.RightLedge = 40;
            deckController.LeftLedge  = 100;

            if (this.contained)
            {
                deckController.NavigationControllerBehavior = ViewDeckNavigationControllerBehavior.Contained;
            }
            else
            {
                deckController.NavigationControllerBehavior = ViewDeckNavigationControllerBehavior.Integrated;
            }

            this.NavigationController.PushViewController(deckController, true);
        }
Exemplo n.º 2
0
        public void StartSimpleSample(Element element)
        {
            var leftController  = new LeftController();
            var rightController = new RightController();

            var centerController = new CenterController(true);

            var deckController = new ViewDeckController(centerController, leftController, rightController);

            deckController.RightLedge = 40;
            deckController.LeftLedge  = 100;

            this.PresentViewController(deckController, true, null);
        }
Exemplo n.º 3
0
        public void GotoDeck(Element element)
        {
            var leftController = new LeftController();
            var rightController = new RightController();

            var centerController = new CenterController(false);
            centerController.Title = "Center";

            var deckController = new ViewDeckController(centerController, leftController, rightController);
            deckController.RightLedge = 40;
            deckController.LeftLedge = 100;

            if (this.contained)
            {
                deckController.NavigationControllerBehavior = ViewDeckNavigationControllerBehavior.Contained;
            }
            else
            {
                deckController.NavigationControllerBehavior = ViewDeckNavigationControllerBehavior.Integrated;
            }

            this.NavigationController.PushViewController(deckController, true);
        }
Exemplo n.º 4
0
        public void StartSimpleSample(Element element)
        {
            var leftController = new LeftController();
            var rightController = new RightController();

            var centerController = new CenterController(true);

            var deckController = new ViewDeckController(centerController, leftController, rightController);
            deckController.RightLedge = 40;
            deckController.LeftLedge = 100;

            this.PresentViewController(deckController, true, null);
        }