public SelectedActivityViewVM()
        {
            _singelton = ActivitySingleton.GetInstance();

            ImgSource     = _singelton.GetImageSource();
            Type          = _singelton.GetType();
            Description   = _singelton.GetDescription();
            NameOfTeacher = _singelton.GetNameOfTeacher();
        }
Beispiel #2
0
        public ActivitySelectionPage()
        {
            _activitySingleton = ActivitySingleton.GetInstance();
            this.InitializeComponent();


            ApplicationViewTitleBar formattableTitleBar = ApplicationView.GetForCurrentView().TitleBar;

            formattableTitleBar.ButtonBackgroundColor = Colors.Transparent;
            CoreApplicationViewTitleBar coreTitleBar = CoreApplication.GetCurrentView().TitleBar;

            coreTitleBar.ExtendViewIntoTitleBar = true;
        }
 public ActivityView()
 {
     this.InitializeComponent();
     _activitySingleton = ActivitySingleton.GetInstance();
 }