【发布时间】:2011-06-26 20:05:17
【问题描述】:
一旦按下另一个按钮,按钮的背景颜色如何?
我现在拥有的是:
ButtonToday.Background = Color.Red;
它不起作用。
【问题讨论】:
-
Winform /WPF / SIlverlight/ASP.NET ?
-
this.Button1.BackgroundColor = newColor? -
你试过什么代码?你在哪个平台?是什么让您认为您缺少命名空间?
-
这是一个使用 Visual Studio 2010 的 WPF。
-
它不起作用。 对您所面临的问题的描述不够详细。
标签: c# wpf button background