protected virtual void LayoutPage() { Title = "Products"; NavigationBar.ChangeProductsTabColor(); for (int i = 0; i < Data.products.Count; i++) { AddProductToStack(Data.products[i]); } }
protected virtual void LayoutPage() { Title = "Products"; NavigationBar.ChangeProductsTabColor(); AddAllProductsToStack(); /* * Title = "Products"; * NavigationBar.ChangeProductsTabColor(); * * StackLayout stackSearchFeature = new StackLayout(); * * SearchSuggestionsStack searchSuggestionsStack = new SearchSuggestionsStack(); * gridSearchGrid = new SearchGrid(searchSuggestionsStack); * * stackSearchFeature.Children.Add(gridSearchGrid); * stackSearchFeature.Children.Add(searchSuggestionsStack); * * gridPageContent.Children.Add(stackSearchFeature, 0, 0); * * AddAllProductsToStack();*/ }