Esempio n. 1
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");
        }
        public void InitializeComponent()
        {
            if (_contentLoaded)
            {
                return;
            }

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

            pageRoot                   = (global::Microsoft.Practices.Prism.StoreApps.VisualStateAwarePage) this.FindName("pageRoot");
            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");
            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");
        }