Creating SolidColorBrush from hex color value
I've been using:
new SolidColorBrush((Color)ColorConverter.ConvertFromString("#ffaacc"));
Try this instead:
(SolidColorBrush)new BrushConverter().ConvertFrom("#ffaacc");
I've been using:
new SolidColorBrush((Color)ColorConverter.ConvertFromString("#ffaacc"));
Try this instead:
(SolidColorBrush)new BrushConverter().ConvertFrom("#ffaacc");