开发者

Is there a Visual guide to System.Windows.SystemColors? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 6 years ago.

Improve this question

All throughout the Windows UX Guide it is suggested to use the appropriate SystemColors within an application to ensure that an application's default theme is consistent with the rest of the system. I totally agree; the only problem is that there seems to be no guide for how named values within the SystemColors type map to actual common parts of a typical user interface. Instead 开发者_StackOverflowwe are given names like Caption and expected to understand what controls that will apply to.

Is there anywhere that a developer can find a decent set of Visual Guidelines for how the values in SystemColors maps to a common user interface?

As an example of what I'm looking for, in the Windows UX Guide there is a concept of Main Instruction under the section on User Interface Text which typically looks like a dark blue color in the most recent default Windows themes. What SystemColor is this so that I can have my own "Main Instructions" labels use that same color?


This table of SystemColors is the best resource that I've come across so far which shows default color values for each of the named keys in each of the popular Windows themes. The problem though is that it still lacks any kind of association with actual UI elements or roles/patterns described in the Windows UX Guide such as for this list of default windows text patterns.

UPDATE: Recently I've come across another good resource about System Colors.


Traditionally, these names have mapped to specific settings in the Advanced dialog of the Appearance tab in display properties.

To view these, right-click your desktop, select Properties and then Appearance, then click Advanced. The Item: dropdown contains the named settings. That said, the names don't necessarily map exactly but it usually isn't difficult to work out when themes are disabled.


Tough question, I don't see anything added to the latest Windows SDK that could fit the "Main Instruction" color. The only one that is a decent match (name and color) is Highlight.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜