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

            _contentLoaded = true;
            Application.LoadComponent(this, new System.Uri("ms-resource://spotifyapp/Files/View/DetailPage.xaml"));

            CollectionViewSource = (Windows.UI.Xaml.Data.CollectionViewSource) this.FindName("CollectionViewSource");
            LayoutRoot           = (Windows.UI.Xaml.Controls.Grid) this.FindName("LayoutRoot");
            OrientationStates    = (Windows.UI.Xaml.VisualStateGroup) this.FindName("OrientationStates");
            Full           = (Windows.UI.Xaml.VisualState) this.FindName("Full");
            Fill           = (Windows.UI.Xaml.VisualState) this.FindName("Fill");
            Portrait       = (Windows.UI.Xaml.VisualState) this.FindName("Portrait");
            Snapped        = (Windows.UI.Xaml.VisualState) this.FindName("Snapped");
            FlipView       = (Windows.UI.Xaml.Controls.FlipView) this.FindName("FlipView");
            ApplicationBar = (Windows.UI.Xaml.Controls.ApplicationBar) this.FindName("ApplicationBar");
            NextPanel      = (Windows.UI.Xaml.Controls.StackPanel) this.FindName("NextPanel");
            NextButton     = (Windows.UI.Xaml.Controls.Button) this.FindName("NextButton");
            PreviousButton = (Windows.UI.Xaml.Controls.Button) this.FindName("PreviousButton");
            HomeButton     = (Windows.UI.Xaml.Controls.Button) this.FindName("HomeButton");
            BackButton     = (Windows.UI.Xaml.Controls.Button) this.FindName("BackButton");
            PageTitle      = (Windows.UI.Xaml.Controls.TextBlock) this.FindName("PageTitle");
        }
        public void InitializeComponent()
        {
            if (_contentLoaded)
                return;

            _contentLoaded = true;
            Application.LoadComponent(this, new System.Uri("ms-resource://spotifyapp/Files/View/GroupedCollectionPage.xaml"));

            GroupedCollectionViewSource = (Windows.UI.Xaml.Data.CollectionViewSource)this.FindName("GroupedCollectionViewSource");
            LayoutRoot = (Windows.UI.Xaml.Controls.Grid)this.FindName("LayoutRoot");
            OrientationStates = (Windows.UI.Xaml.VisualStateGroup)this.FindName("OrientationStates");
            Full = (Windows.UI.Xaml.VisualState)this.FindName("Full");
            Fill = (Windows.UI.Xaml.VisualState)this.FindName("Fill");
            Portrait = (Windows.UI.Xaml.VisualState)this.FindName("Portrait");
            Snapped = (Windows.UI.Xaml.VisualState)this.FindName("Snapped");
            AppBar = (Windows.UI.Xaml.Controls.ApplicationBar)this.FindName("AppBar");
            ItemListView = (Windows.UI.Xaml.Controls.ListView)this.FindName("ItemListView");
            ItemGridView = (Windows.UI.Xaml.Controls.GridView)this.FindName("ItemGridView");
            BackButton = (Windows.UI.Xaml.Controls.Button)this.FindName("BackButton");
            PageTitle = (Windows.UI.Xaml.Controls.TextBlock)this.FindName("PageTitle");
            SearchTextBox = (Windows.UI.Xaml.Controls.TextBox)this.FindName("SearchTextBox");
        }
Пример #3
0
        public void InitializeComponent()
        {
            if (_contentLoaded)
            {
                return;
            }

            _contentLoaded = true;
            Application.LoadComponent(this, new System.Uri("ms-resource://spotifyapp/Files/View/GroupedCollectionPage.xaml"));

            GroupedCollectionViewSource = (Windows.UI.Xaml.Data.CollectionViewSource) this.FindName("GroupedCollectionViewSource");
            LayoutRoot        = (Windows.UI.Xaml.Controls.Grid) this.FindName("LayoutRoot");
            OrientationStates = (Windows.UI.Xaml.VisualStateGroup) this.FindName("OrientationStates");
            Full          = (Windows.UI.Xaml.VisualState) this.FindName("Full");
            Fill          = (Windows.UI.Xaml.VisualState) this.FindName("Fill");
            Portrait      = (Windows.UI.Xaml.VisualState) this.FindName("Portrait");
            Snapped       = (Windows.UI.Xaml.VisualState) this.FindName("Snapped");
            AppBar        = (Windows.UI.Xaml.Controls.ApplicationBar) this.FindName("AppBar");
            ItemListView  = (Windows.UI.Xaml.Controls.ListView) this.FindName("ItemListView");
            ItemGridView  = (Windows.UI.Xaml.Controls.GridView) this.FindName("ItemGridView");
            BackButton    = (Windows.UI.Xaml.Controls.Button) this.FindName("BackButton");
            PageTitle     = (Windows.UI.Xaml.Controls.TextBlock) this.FindName("PageTitle");
            SearchTextBox = (Windows.UI.Xaml.Controls.TextBox) this.FindName("SearchTextBox");
        }
        public void InitializeComponent()
        {
            if (_contentLoaded)
                return;

            _contentLoaded = true;
            Application.LoadComponent(this, new System.Uri("ms-resource://spotifyapp/Files/View/DetailPage.xaml"));

            CollectionViewSource = (Windows.UI.Xaml.Data.CollectionViewSource)this.FindName("CollectionViewSource");
            LayoutRoot = (Windows.UI.Xaml.Controls.Grid)this.FindName("LayoutRoot");
            OrientationStates = (Windows.UI.Xaml.VisualStateGroup)this.FindName("OrientationStates");
            Full = (Windows.UI.Xaml.VisualState)this.FindName("Full");
            Fill = (Windows.UI.Xaml.VisualState)this.FindName("Fill");
            Portrait = (Windows.UI.Xaml.VisualState)this.FindName("Portrait");
            Snapped = (Windows.UI.Xaml.VisualState)this.FindName("Snapped");
            FlipView = (Windows.UI.Xaml.Controls.FlipView)this.FindName("FlipView");
            ApplicationBar = (Windows.UI.Xaml.Controls.ApplicationBar)this.FindName("ApplicationBar");
            NextPanel = (Windows.UI.Xaml.Controls.StackPanel)this.FindName("NextPanel");
            NextButton = (Windows.UI.Xaml.Controls.Button)this.FindName("NextButton");
            PreviousButton = (Windows.UI.Xaml.Controls.Button)this.FindName("PreviousButton");
            HomeButton = (Windows.UI.Xaml.Controls.Button)this.FindName("HomeButton");
            BackButton = (Windows.UI.Xaml.Controls.Button)this.FindName("BackButton");
            PageTitle = (Windows.UI.Xaml.Controls.TextBlock)this.FindName("PageTitle");
        }