Ejemplo n.º 1
0
        private void BottomSideDrawer()
        {
            this.SideDrawerView.SideDrawer.Position   = TKSideDrawerPosition.Bottom;
            this.SideDrawerView.SideDrawer.HeaderView = new SideDrawerHeader(true, this, new Selector("DismissSideDrawer"));
            TKSideDrawerTableView table = (TKSideDrawerTableView)this.SideDrawerView.SideDrawerContentView;

            table.SetContentOffset(CGPoint.Empty, false);
            this.SideDrawerView.SideDrawer.AllowScroll = true;
            this.SideDrawerView.SideDrawer.Show();
        }
Ejemplo n.º 2
0
        private void TopSideDrawer()
        {
            this.SideDrawerView.SideDrawer.Position   = TKSideDrawerPosition.Top;
            this.SideDrawerView.SideDrawer.HeaderView = new SideDrawerHeader(false, null, null);
            TKSideDrawerTableView table = (TKSideDrawerTableView)this.SideDrawerView.SideDrawerContentView;

            table.SetContentOffset(CGPoint.Empty, false);
            this.SideDrawerView.SideDrawer.AllowScroll = true;
            this.SideDrawerView.SideDrawer.Show();
        }