Пример #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();
                }
            }
        }