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()); } } }
public PhotoAlbumsViewPage() { this.InitializeComponent(); DataContext = new PhotoAlbumsViewModel(); }