public SalesPage() { resultsLabel = new Label { //... }; searchBar = new SearchBar { //... }; var searchLabel = new Label() { HorizontalTextAlignment = TextAlignment.Center, Text = "SearchBar", FontSize = 50, TextColor = Color.Purple }; MainLayout.Add(searchLabel); MainLayout.Add(searchBar); MainLayout.Add(resultsLabel); MainLayout.Add(searchLabel); var scrollView = new ScrollView() { Content = resultsLabel, VerticalOptions = LayoutOptions.FillAndExpand }; MainLayout.Add(scrollView); MainLayout.VerticalOptions = LayoutOptions.Start; MainLayout.Padding = new Thickness(10, Device.OnPlatform(20, 0, 0), 10, 5); } }