Devin
Devin

Reputation: 1064

Override WindowsTheme colors for Listbox SelectedItem

I have a listbox that has a custom selected item color as described in this thread. It works great so long as I'm using the Windows 7 theme. If I use the windows classic theme, the background color is dark blue, which makes the black text illegible.

Is there any way to override the default colors associated with a windows theme? The colors that we're using in our app are driven from our monochromatic palette and shouldn't be affected by any specific theme.

Example:

enter image description here

VS

enter image description here

Upvotes: 2

Views: 321

Answers (0)

Related Questions