潜移默化学会WPF(技巧篇)关于后台如何设置字符串的颜色的方法

  BrushConverter converter = new BrushConverter();
            Brush newFill = (Brush)converter.ConvertFromString("#000000");
            e1.Fill = newFill;
原文地址:https://www.cnblogs.com/AaronYang/p/2459531.html