#Brush

C#中Brush、Color、String相互转换WPF/Silverlight

//部分方法只适用于WPF,在SL中不能用usingSystem.Windows.Media;Colorcolor=(Color)ColorConverter.ConvertFromString(string);BrushConverterbrushConverter=newBrushConverter();Brush...