摘要:
所有控件都包含背景和前景属性,设置Background和Foreground的值改变背景或前景颜色。1.使用代码设置颜色 button1.Background = new SolidColorBrush(Colors.Blue); button2.Background = new SolidColorBrush(SystemColors.ControlColor); //button2.Background = SystemColors.ControlBrush; //button2.Backgroun... 阅读全文
posted @ 2012-02-16 23:31
William Jiang
阅读(716)
评论(0)
推荐(0)

浙公网安备 33010602011771号