WPF 颜色转换
2021-07-13 21:17
阅读:521
标签:blog com string log 颜色 converter class pre div 从字符串到画刷: WPF 颜色转换 标签:blog com string log 颜色 converter class pre div 原文地址:https://www.cnblogs.com/lonelyxmas/p/9559548.html
var converter = new System.Windows.Media.BrushConverter();
var brush = (Brush)converter.ConvertFromString("#FFFFFF90");
Fill = brush;
下一篇:WPF之UI虚拟化
评论
亲,登录后才可以留言!