public DetailPageViewModel()
        {
            BandViewModel = App.CurrentBand;

            if (Windows.ApplicationModel.DesignMode.DesignModeEnabled)
            {
                // designtime data
                //this.Value = "Designtime value";
                return;
            }
        }
Пример #2
0
        public DetailPageViewModel()
        {
            BandViewModel = App.CurrentBand;

            if (Windows.ApplicationModel.DesignMode.DesignModeEnabled)
            {
                // designtime data
                //this.Value = "Designtime value";
                return;
            }

            Connect().ContinueWith(t =>
            {
            });
        }