示例#1
0
 public MGSplitViewController()
 {
     // Configure default behaviour.
     DividerView = new MGSplitDividerView(this);
     DividerView.BackgroundColor = _defaultCornerColor;
     SplitPosition = _defaultSplitPosition;
     Vertical      = true;
 }
示例#2
0
 public MGSplitViewController()
 {
     // Configure default behaviour.
     DividerView = new MGSplitDividerView(this);
     DividerView.BackgroundColor = _defaultCornerColor;
     SplitPosition = _defaultSplitPosition;
     Vertical = true;
 }
示例#3
0
        void SetDividerView(MGSplitDividerView divider)
        {
            if (divider != DividerView)
            {
                DividerView.RemoveFromSuperview();

                DividerView = divider;
                DividerView.SplitViewController = this;
                DividerView.BackgroundColor     = _defaultCornerColor;
                if (IsShowingMaster())
                {
                    LayoutSubviews();
                }
            }
        }
示例#4
0
        void SetDividerView(MGSplitDividerView divider)
        {
            if (divider != DividerView) {
                DividerView.RemoveFromSuperview();

                DividerView = divider;
                DividerView.SplitViewController = this;
                DividerView.BackgroundColor = _defaultCornerColor;
                if (IsShowingMaster()) {
                    LayoutSubviews();
                }
            }
        }