C# - Changing font Color in Codebehind

by ebarcza 9/14/2009 10:01:00 AM

real simple 

lblSystemMessage.ForeColor = System.Drawing.Color.Red;

you'll get instellisense on System.Drawing.Color that will give you a pick list of system colors.

 Enjoy!

Tags:

.NET

Comments

Powered by BlogEngine.NET 1.5.0.7
Theme by Mads Kristensen

About the author

Name of author Author name
Something about me and what I do.

E-mail me Send mail

Calendar

<<  August 2014  >>
MoTuWeThFrSaSu
28293031123
45678910
11121314151617
18192021222324
25262728293031
1234567

View posts in large calendar

Recent comments

Tags

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2014

Sign in