Click here to Skip to main content
Click here to Skip to main content

Tagged as

Color Code to SolidColor Conversion

, 3 Jan 2012
Rate this:
Please Sign up or sign in to vote.
Convert color code to SolidColor.
public SolidColorBrush GetColor(string ColorCode) 
  return (SolidColorBrush)XamlReader.Load("<SolidColorBrush xmlns=\"http://schemas." + 
     "\ <http://schemas." + 
     "> " Color=\"" + ColorCode + "\" />");


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


About the Author

Member 4053748
Web Developer
India India
No Biography provided

Comments and Discussions

General??????? Pinmemberzy284092759-Jan-12 18:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Mobile
Web03 | 2.8.140814.1 | Last Updated 3 Jan 2012
Article Copyright 2012 by Member 4053748
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid