public SolidColorBrush GetColor(string ColorCode)
{
return (SolidColorBrush)XamlReader.Load("<SolidColorBrush xmlns=\"http://schemas." +
"microsoft.com/winfx/2006/xaml/presentation\ <http://schemas." +
"microsoft.com/winfx/2006/xaml/presentation/> " Color=\"" + ColorCode + "\" />");
}