c# - 这是什么系统颜色?

标签 c# wpf colors

请看下图:

enter image description here

什么 SystemColor面板在红色矩形中吗?

呈现内容的控件的背景通常应该使用什么SystemColor?我尝试了 SystemColors.ControlBrushSystemColors.ControlLightBrush 但它们都不匹配图像中的颜色。颜色是否可能在其他地方重新定义?

最佳答案

我猜这是他们在 SystemColors 之间应用的渐变。对我来说,它在顶部看起来更亮,在底部看起来更暗。这是按主题指向 SystemColors 的链接,也许它会有所帮助:http://blogs.msdn.com/b/wpf/archive/2010/11/30/systemcolors-reference.aspx

关于c# - 这是什么系统颜色?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7012776/

相关文章:

browser - Chromium 和 Firefox 显示颜色不同,我不知道哪一个做得对

javascript - THREE.js vertexShader 基于高度的颜色混合

c# - 使用 System.Threading.ReaderWriterCount 获取内存不足异常

c# - 代码分析在设计器代码中发现 CA2213 错误

c# - Web API 2 POST-Request 不适用于单声道

wpf - 在 MVVM-light 和 WPF 中切换 View /用户控件的最佳方法是什么?

c# - WPF 将枚举绑定(bind)到组合框

c# - 按字符串修剪字符串

WPF UserControl - 将父窗口作为命令参数绑定(bind)到 ContextMenu MenuItem

python - 如何将数据值转换为matplotlib的颜色信息?