Answers for "C# wpf set text color from code"

C#
1

wpf label text color rgb string

System.Drawing.Color c = System.Drawing.ColorTranslator.FromHtml("#FFFFFF");
label.Foreground = new SolidColorBrush(System.Windows.Media.Color.FromArgb(c.A, c.R, c.G, c.B));
Posted by: Guest on November-27-2020
1

c# wpf change label text color

(name label).Foreground = new SolidColorBrush(Color.FromRgb(0, 0, 0));
Posted by: Guest on October-29-2020

C# Answers by Framework

Browse Popular Code Answers by Language