private void SetFontColor(int pageIndex)
        {
            var leftPage = viewModel.ContentPages[pageIndex].Background as Model.Backgrounds.BackgroundColor;

            foreach (var item in labels[pageIndex])
            {
                FontAdjuster.AdjustFont(item, leftPage.R, leftPage.G, leftPage.B);
            }
        }
Example #2
0
        private void AdjustFontColor()
        {
            var fill     = backgroundRectangle.Fill as SolidColorBrush;
            var newColor = viewModel.Background;

            fill.Color = Color.FromRgb(newColor.R, newColor.G, newColor.B);

            FontAdjuster.AdjustFont(titleLabel, newColor.R, newColor.G, newColor.B);
        }