Ejemplo n.º 1
0
        public void InitializeComponent()
        {
            if (_contentLoaded)
            {
                return;
            }

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

            pageRoot                  = (global::Efarmer.Common.LayoutAwarePage) this.FindName("pageRoot");
            itemsViewSource           = (global::Windows.UI.Xaml.Data.CollectionViewSource) this.FindName("itemsViewSource");
            primaryColumn             = (global::Windows.UI.Xaml.Controls.ColumnDefinition) this.FindName("primaryColumn");
            titlePanel                = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("titlePanel");
            itemListView              = (global::Windows.UI.Xaml.Controls.ListView) this.FindName("itemListView");
            itemDetail                = (global::Windows.UI.Xaml.Controls.ScrollViewer) this.FindName("itemDetail");
            itemDetailGrid            = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("itemDetailGrid");
            itemDetailTitlePanel      = (global::Windows.UI.Xaml.Controls.StackPanel) this.FindName("itemDetailTitlePanel");
            itemTitle                 = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("itemTitle");
            itemSubtitle              = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("itemSubtitle");
            backButton                = (global::Windows.UI.Xaml.Controls.Button) this.FindName("backButton");
            pageTitle                 = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("pageTitle");
            ApplicationViewStates     = (global::Windows.UI.Xaml.VisualStateGroup) this.FindName("ApplicationViewStates");
            FullScreenLandscapeOrWide = (global::Windows.UI.Xaml.VisualState) this.FindName("FullScreenLandscapeOrWide");
            FilledOrNarrow            = (global::Windows.UI.Xaml.VisualState) this.FindName("FilledOrNarrow");
            FullScreenPortrait        = (global::Windows.UI.Xaml.VisualState) this.FindName("FullScreenPortrait");
            FullScreenPortrait_Detail = (global::Windows.UI.Xaml.VisualState) this.FindName("FullScreenPortrait_Detail");
            Snapped        = (global::Windows.UI.Xaml.VisualState) this.FindName("Snapped");
            Snapped_Detail = (global::Windows.UI.Xaml.VisualState) this.FindName("Snapped_Detail");
        }
Ejemplo n.º 2
0
        public void InitializeComponent()
        {
            if (_contentLoaded)
            {
                return;
            }

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

            pageRoot              = (global::Efarmer.Common.LayoutAwarePage) this.FindName("pageRoot");
            backButton            = (global::Windows.UI.Xaml.Controls.Button) this.FindName("backButton");
            pageTitle             = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("pageTitle");
            ApplicationViewStates = (global::Windows.UI.Xaml.VisualStateGroup) this.FindName("ApplicationViewStates");
            FullScreenLandscape   = (global::Windows.UI.Xaml.VisualState) this.FindName("FullScreenLandscape");
            Filled             = (global::Windows.UI.Xaml.VisualState) this.FindName("Filled");
            FullScreenPortrait = (global::Windows.UI.Xaml.VisualState) this.FindName("FullScreenPortrait");
            Snapped            = (global::Windows.UI.Xaml.VisualState) this.FindName("Snapped");
        }