How to find the correct color to edit with the Visual Studio 2010 Theme Editor? - wpf

I really like the Dark Expression theme for the Visual Studio 2010 Color Theme Editor, apart from a few things here and there.
One example is that certain UI elements (such as e.g. Smart Tags) are almost unreadable because they have dark text on dark backgrounds.
I know that I can use the Customize Colors dialog(!) box to edit the colors, but how do I figure out which color to edit?
There's a lot of colors, and it's not very apparent which ones control which UI elements. Is there any way to figure that out?

you can snoop Visual Studio to find out more information about the colors used etc. With Snoop you can even change the colors and look at the results instantly!
So you can just read out wich color is used on wich place and then search the color by name.

Related

Why is the Designer in Codename one not reporting the attributes I set?

I started a Codename One project with the "Hello World bare bones". I used to define the styles in the Theme tab from the Designer but now it is becoming tedious.
Actually for some selectors, even if I override (unchecking the Derive box) some properties the style is not changed in the Designer (see below) or in the app itself.
However, in the list of selectors, the color is not the one I selected but the alignment seems to be it.
It seems that the theme is locked somewhere. Do I make a mistake, or should I set a constant to "unlock" the theme, or even should I clear some directories?
Please note that I am using NetBeans with designer V 1.1
.
Edit March 1st 2017
Following #Diamond's great tips, I was able to change the foreground color by setting the Border to empty (instead of NULL). However now the alignment is still not what I expect (see below). How can I do for this property ?
Any help appreciated,
In the Designer, Border is superior to background color and background image. Which means if the border image is set, a background color will have no effect unless the border is just a stroke or line.
Always solve this with these few steps:
Go to the Border tab and uncheck the override.
Click the ... button next to Border Help and a new Dialog will show.
Change the Type (First line) to Empty and click Ok.
Your background color will now have an effect.

Change border brush from skyblue in wizard control of extended wpf toolkit

I'm using Wizard control of Extended wpf toolkit package.
I would like to change color of the border. See sky blue in image below:
I tried set broder brush\background to wizard\wizard page\window controls, but it failed.
Anybody know how to change it?
Your assistance is appreciated!
Now that you have provided more info, I can see that your question title does not match what you asking to change. You are not asking to change the color of the border of the Wizard Control, you are asking to change the color of the WPF Window.
It takes some time to get things right, and I highly discourage doing this if you app will be used by people with disabilities, who need high contrast, who customized their desktop to a certain color because of color blindness, and the list goes on...Microsoft has worked very hard to address such issues with the defaults.
BUT...you can change this by restyling your Window Style. You can find plenty of code examples.
Here are two:
Can i set the window border color in WPF?
How can I style the border and title bar of a window in WPF?

Visual Studio - White Text on Button Text in "Properties" Window

In The Properties Windows within Visual Studio and subsidiary dialogs (like the collection editor window pictured in the attached screenshot), the Text on the Buttons is white on light gray:
It seems that neither resetting the dark theme back to defaults (Environment -> General) seems to fix this, nor did some of the settings I've been fiddling with under Environment -> Fonts and Colors. (Also note how the text in the combobox next to the "Add" button is black)
Question: Where / How can I change this particular setting for the button text colors (or alternatively, the background color for the buttons) ?
For all it matters, I'm on Visual Studio 2013.
These look like Win 7 style buttons. If you are on Windows 7, take a look at this:
http://www.pallareviews.com/1109/advanced-appearance-settings-windows-8-and-7/

Draw expand/collapse buttons (+/-) when Aero is off

With visual styles, i can use
VisualStyleElement.TreeView.Glyph.Closed
and VisualStyleRenderer to draw [+] button like in TreeView.
But when user have a "Classic" style in Windows, visual styles are not supported and I still need to draw this glyph.
It is still possible to use classes like
System.Windows.Forms.CheckBoxRenderer
but I haven't found anything like this for TreeView glyphs.
Yes, it is not possible to get that glyph. It is a simple one but you have to write the code. DrawRectangle and DrawLine. Or use a bitmap. Or make it look like the simple Vista triangles. Or don't enable ownerdraw when visual styles are off.

Dark Background of new WPF Ribbon becomes gradient?

I am using the new Version of MS WPF Ribbon (Version MS WPF Ribbon 3.5.40729.1) with Windows 7 and I am trying to change the Background of the Ribbon. Everything looks fine if I use light background colors.
But e.g. if I choose "Black" a white gradient is shown with the black. It does not seem to be possible to remove the white and simply have a black background. And it looks ugly, especially when every Textcolor normally is white. (Tabheaders get white background and are not readable anymore)
In the samples, (I leave everything as is) if I set Background=Black directly in the ribbon's property, the effect is the same.
What do I have to set or do to get rid of the white gradient color?
There's a hard-coded gloss effect in the RibbonGroup template. It's lame, but the only way to get rid of it is to override the temlate for RibbonGroup. If you have Blend, just extract the template and rip out the offending LinearGradientBrush.

Resources