public void InitializeComponent()
        {
            if (_contentLoaded)
            {
                return;
            }

            _contentLoaded = true;
            global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///Views/SearchResultsPage.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);

            pageRoot              = (global::Microsoft.Practices.Prism.StoreApps.VisualStateAwarePage) this.FindName("pageRoot");
            headerGrid            = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("headerGrid");
            resultsPanel          = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("resultsPanel");
            noResultsTextBlock    = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("noResultsTextBlock");
            typicalPanel          = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("typicalPanel");
            itemsGridView         = (global::AdventureWorks.Shopper.Controls.AutoRotatingGridView) this.FindName("itemsGridView");
            backButton            = (global::Windows.UI.Xaml.Controls.Button) this.FindName("backButton");
            pageTitle             = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("pageTitle");
            searchHeader          = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("searchHeader");
            searchUserControl     = (global::AdventureWorks.Shopper.Views.SearchUserControl) this.FindName("searchUserControl");
            resultNumber          = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("resultNumber");
            resultText            = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("resultText");
            queryText             = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("queryText");
            ApplicationViewStates = (global::Windows.UI.Xaml.VisualStateGroup) this.FindName("ApplicationViewStates");
            DefaultLayout         = (global::Windows.UI.Xaml.VisualState) this.FindName("DefaultLayout");
            PortraitLayout        = (global::Windows.UI.Xaml.VisualState) this.FindName("PortraitLayout");
            MinimalLayout         = (global::Windows.UI.Xaml.VisualState) this.FindName("MinimalLayout");
        }
Exemplo n.º 2
0
        public void InitializeComponent()
        {
            if (_contentLoaded)
            {
                return;
            }

            _contentLoaded = true;
            global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///Views/HubPage.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);

            pageRoot = (global::Microsoft.Practices.Prism.StoreApps.VisualStateAwarePage) this.FindName("pageRoot");
            groupedItemsViewSource = (global::Windows.UI.Xaml.Data.CollectionViewSource) this.FindName("groupedItemsViewSource");
            titleGrid                  = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("titleGrid");
            semanticZoom               = (global::Windows.UI.Xaml.Controls.SemanticZoom) this.FindName("semanticZoom");
            zoomedOutGrid              = (global::Windows.UI.Xaml.Controls.GridView) this.FindName("zoomedOutGrid");
            itemsGridView              = (global::AdventureWorks.Shopper.Controls.MultipleSizedGridView) this.FindName("itemsGridView");
            backButton                 = (global::Windows.UI.Xaml.Controls.Button) this.FindName("backButton");
            AppLogo                    = (global::Windows.UI.Xaml.Controls.Image) this.FindName("AppLogo");
            searchUserControl          = (global::AdventureWorks.Shopper.Views.SearchUserControl) this.FindName("searchUserControl");
            shoppingCartTabUserControl = (global::AdventureWorks.Shopper.Views.ShoppingCartTabUserControl) this.FindName("shoppingCartTabUserControl");
            ApplicationViewStates      = (global::Windows.UI.Xaml.VisualStateGroup) this.FindName("ApplicationViewStates");
            DefaultLayout              = (global::Windows.UI.Xaml.VisualState) this.FindName("DefaultLayout");
            PortraitLayout             = (global::Windows.UI.Xaml.VisualState) this.FindName("PortraitLayout");
            MinimalLayout              = (global::Windows.UI.Xaml.VisualState) this.FindName("MinimalLayout");
        }
Exemplo n.º 3
0
        public void InitializeComponent()
        {
            if (_contentLoaded)
            {
                return;
            }

            _contentLoaded = true;
            global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///Views/ItemDetailPage.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);

            pageRoot                   = (global::Microsoft.Practices.Prism.StoreApps.VisualStateAwarePage) this.FindName("pageRoot");
            flipView                   = (global::Windows.UI.Xaml.Controls.FlipView) this.FindName("flipView");
            backButton                 = (global::Windows.UI.Xaml.Controls.Button) this.FindName("backButton");
            pageTitle                  = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("pageTitle");
            searchUserControl          = (global::AdventureWorks.Shopper.Views.SearchUserControl) this.FindName("searchUserControl");
            shoppingCartTabUserControl = (global::AdventureWorks.Shopper.Views.ShoppingCartTabUserControl) this.FindName("shoppingCartTabUserControl");
            ApplicationViewStates      = (global::Windows.UI.Xaml.VisualStateGroup) this.FindName("ApplicationViewStates");
            DefaultLayout              = (global::Windows.UI.Xaml.VisualState) this.FindName("DefaultLayout");
            PortraitLayout             = (global::Windows.UI.Xaml.VisualState) this.FindName("PortraitLayout");
            MinimalLayout              = (global::Windows.UI.Xaml.VisualState) this.FindName("MinimalLayout");
            PinAppBarButton            = (global::Windows.UI.Xaml.Controls.AppBarButton) this.FindName("PinAppBarButton");
            UnpinAppBarButton          = (global::Windows.UI.Xaml.Controls.AppBarButton) this.FindName("UnpinAppBarButton");
        }