Click here to Skip to main content
15,898,222 members
Articles / Silverlight

Color Code to SolidColor Conversion

Rate me:
Please Sign up or sign in to vote.
5.00/5 (2 votes)
10 Jan 2012CPOL 6.7K  
I think there might be a couple of typos in the original code. This works, though...public SolidColorBrush GetColor(string ColorCode){ return (SolidColorBrush)XamlReader.Load( "<SolidColorBrush xmlns=\"http://schemas." + "microsoft.com/winfx/2006/xaml/presentation\"...

Views

Daily Counts

License

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


Written By
Software Developer (Senior)
United Kingdom United Kingdom

Comments and Discussions