Programmatically set TextBlock Foreground Color February 18, 2023 by Tarik textBlock.Foreground = new SolidColorBrush(Colors.White);