protected FlexView(bool useScrollView = true) { IsClippedToBounds = true; BackgroundColor = Color.Transparent; if (useScrollView) { var scroller = FormsUtils.GetExpandingScrollView(); scroller.BindingContext = BindingContext; scroller.Content = MasterLayoutAsView; Content = scroller; } else { Content = MasterLayoutAsView; } MasterLayoutAsView.BindingContext = BindingContext; }