Example #1
0
 public static SolidColorBrush ConvertString(string colorString, IFormatProvider formatProvider)
 {
     return(StringColorConverter.ConvertString(colorString, formatProvider).ToSolidColorBrush());
 }
Example #2
0
 public StringBrushConverter()
     : base(str => StringColorConverter.ConvertString(str).ToSolidColorBrush(), null)
 {
 }