Ejemplo n.º 1
0
        public Notifications()
        {
            InitializeComponent(); Loaded += (sender, e) => { if (ApplicationBar != null) ApplicationBar.MatchOverriddenTheme(); };

            viewModel  = new NotificationsModel();
            this.DataContext = viewModel;
            this.Loaded += (s, e) => viewModel.OnLoad();
        }
Ejemplo n.º 2
0
        public Notifications()
        {
            InitializeComponent(); Loaded += (sender, e) => { if (ApplicationBar != null)
                                                              {
                                                                  ApplicationBar.MatchOverriddenTheme();
                                                              }
            };


            viewModel        = new NotificationsModel();
            this.DataContext = viewModel;
            this.Loaded     += (s, e) => viewModel.OnLoad();
        }