public ThemeSection() { HeaderInfo = new HeaderInfo { Title = "Theme" }; UI = new ThemeSectionView { DataContext = this }; _currentAccentColor = (Color)Application.Current.TryFindResource(AppTheme.AccentColorKey); }