Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

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));
 
PREVIOUS NEXT
Tagged: #wpf #label #text #color #rgb #string
ADD COMMENT
Topic
Name
1+1 =