当前位置:编程学习 > C#/ASP.NET >>

怎么通过后台代码改控件的背景颜色

XX.background="Red";这样写他说是错误的,求大神知道,是wpf或者winform下的
winform wpf 控件 --------------------编程问答-------------------- XX.background=Color.Red --------------------编程问答-------------------- Colors.Black --------------------编程问答-------------------- Control.BackColor 属性 (System.Windows.Forms)

  
*****************************************************************************
签名档: http://feiyun0112.cnblogs.com/
补充:.NET技术 ,  ASP.NET
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,