请看下图:
什么 SystemColor面板在红色矩形中吗?
呈现内容的控件的背景通常应该使用什么SystemColor
?我尝试了 SystemColors.ControlBrush
和 SystemColors.ControlLightBrush
但它们都不匹配图像中的颜色。颜色是否可能在其他地方重新定义?
最佳答案
我猜这是他们在 SystemColors 之间应用的渐变。对我来说,它在顶部看起来更亮,在底部看起来更暗。这是按主题指向 SystemColors 的链接,也许它会有所帮助:http://blogs.msdn.com/b/wpf/archive/2010/11/30/systemcolors-reference.aspx
关于c# - 这是什么系统颜色?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7012776/