public MGSplitViewController() { // Configure default behaviour. DividerView = new MGSplitDividerView(this); DividerView.BackgroundColor = _defaultCornerColor; SplitPosition = _defaultSplitPosition; Vertical = true; }
void SetDividerView(MGSplitDividerView divider) { if (divider != DividerView) { DividerView.RemoveFromSuperview(); DividerView = divider; DividerView.SplitViewController = this; DividerView.BackgroundColor = _defaultCornerColor; if (IsShowingMaster()) { LayoutSubviews(); } } }