예제 #1
0
        protected virtual void LayoutPage()
        {
            Title = "Products";
            NavigationBar.ChangeProductsTabColor();

            for (int i = 0; i < Data.products.Count; i++)
            {
                AddProductToStack(Data.products[i]);
            }
        }
예제 #2
0
        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();*/
        }