WPF-后台修改颜色

otabItem.Foreground = System.Windows.Media.Brushes.Black;
tabItem.Foreground = new SolidColorBrush((Color)ColorConverter.ConvertFromString("#300b80"));
posted @ 2021-12-29 14:39  ꧁执笔小白꧂  阅读(145)  评论(0编辑  收藏  举报