Click here to Skip to main content
15,886,199 members
Articles / Silverlight

Silverlight: Use KnownColor Through the Backdoor

Rate me:
Please Sign up or sign in to vote.
5.00/5 (3 votes)
5 Aug 2010CPOL 10.3K   1  
A possible alternative solution. I say possible because I have no idea if it will work in Silverlight and even if it does whether it will be any easier/faster. public Color ColorFromName(string name) { Color result = Colors.Black; Type type =...

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

Please Sign up or sign in to vote.
12 Aug 2010#realJSOP 1 alternative  
Get around another irrational and arbitrary omission in Silverlight

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Retired
United Kingdom United Kingdom
Retired Systems Admin, Programmer, Dogsbody.
Mainly on Systems for Local Government, Health Authorities,
Insurance Industry - (COBOL eeeeeeeugh).
Inventor of Synchronized Shopping.

Comments and Discussions