public void OnNavigatedTo(object parameter)
 {
     VersionDescription = GetVersionDescription();
     Theme = _themeSelectorService.GetCurrentTheme();
     _identityService.LoggedOut       += OnLoggedOut;
     _userDataService.UserDataUpdated += OnUserDataUpdated;
     User = _userDataService.GetUser();
 }
Example #2
0
 public void OnNavigatedTo(object parameter)
 {
     VersionDescription = $"WTS.WPF.HighContrastSupport - {_applicationInfoService.GetVersion()}";
     Theme = _themeSelectorService.GetCurrentTheme();
 }
Example #3
0
 public void OnNavigatedTo(object parameter)
 {
     VersionDescription = $"SampleApp - {_applicationInfoService.GetVersion()}";
     Theme = _themeSelectorService.GetCurrentTheme();
 }
 public void OnNavigatedTo(object parameter)
 {
     VersionDescription = GetVersionDescription();
     Theme = _themeSelectorService.GetCurrentTheme();
 }
Example #5
0
 public void OnNavigatedTo(NavigationContext navigationContext)
 {
     VersionDescription = $"Skipper - {_applicationInfoService.GetVersion()}";
     Theme = _themeSelectorService.GetCurrentTheme();
 }
Example #6
0
 public void OnNavigatedTo(object parameter)
 {
     VersionDescription = $"{Properties.Resources.AppDisplayName} - {_applicationInfoService.GetVersion()}";
     Theme          = _themeSelectorService.GetCurrentTheme();
     _isInitialized = true;
 }
 private void GetColors()
 {
     useDarkTheme = themeSelectorService.GetCurrentTheme() == AppTheme.Dark;
 }
 private void GetColors()
 {
     _backgroundColor = _themeSelectorService.GetColor("MahApps.Brushes.Control.Background");
     _useDarkTheme    = _themeSelectorService.GetCurrentTheme() == AppTheme.Dark;
 }
Example #9
0
 public void OnNavigatedTo(object parameter)
 {
     VersionDescription = $"Blog.WPF - {_applicationInfoService.GetVersion()}";
     Theme          = _themeSelectorService.GetCurrentTheme();
     _isInitialized = true;
 }
 public void OnNavigatedTo(object parameter)
 {
     VersionDescription = $"MantenedoresSigloXXI - {_applicationInfoService.GetVersion()}";
     Theme = _themeSelectorService.GetCurrentTheme();
 }
 public void OnNavigatedTo(NavigationContext navigationContext)
 {
     VersionDescription = GetVersionDescription();
     Theme = _themeSelectorService.GetCurrentTheme();
 }
Example #12
0
 public void OnNavigatedTo(object parameter)
 {
     VersionDescription = $"TemplateMVVMBasicsWpf - {_applicationInfoService.GetVersion()}";
     Theme = _themeSelectorService.GetCurrentTheme();
 }
 public void OnNavigatedTo(NavigationContext navigationContext)
 {
     VersionDescription = $"MiniApps.SpaghettiUI - {_applicationInfoService.GetVersion()}";
     Theme = _themeSelectorService.GetCurrentTheme();
 }