public NewPhotoAlbumsViewPage()
 {
     this.InitializeComponent();
     DataContext = new PhotoAlbumsViewModel();
     if (!String.IsNullOrEmpty(ApplicationService.Instance.Settings.BackGroundColor))
     {
         try
         {
             var brush =
                 HexToColorConverter.GetColorFromHex(ApplicationService.Instance.Settings.BackGroundColor);
             PageGrid.Background = brush;
         }
         catch (Exception ex)
         {
             Debug.WriteLine(ex.ToString());
         }
     }
 }
Exemple #2
0
 public PhotoAlbumsViewPage()
 {
     this.InitializeComponent();
     DataContext = new PhotoAlbumsViewModel();
 }