Simpliest way to convert a Color as a string like #XXXXXX to System.Windows.Media.Brush

前端 未结 3 796
隐瞒了意图╮
隐瞒了意图╮ 2021-01-17 12:55

I think that the title is clear !

What I have now is :

System.Drawing.Color uiui = System.Drawing.ColorTranslator.FromHtml(myString);
var intColor =          


        
3条回答
提交回复
热议问题