예제 #1
0
        public override void ViewDidLoad()
        {
            base.ViewDidLoad ();
            View.BackgroundColor = UIColor.White;

            _source = new SideBarSource ();
            _source.RowSelectedEvent += HandleRowSelectedEvent;

            _table = new UITableView ();
            _table.ScrollEnabled = false;
            _table.Source = _source;
            _table.TableFooterView = new UIView (new RectangleF ());

            View.AddSubview (_table);
            _table.Frame = _table.Superview.Bounds;
            _table.MoveVertically(10f);
        }