WP7 各个控件Foreground属性的设置 发表于 2011-10-12 更新于 2022-11-07 分类于 Windows Phone/C# Foreground属性是Bush类型,可以使用Bush的子类SolidColorBrush来设置。 textBlock.Foreground = new SolidColorBrush(Colors.Red);