Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
165
TextBlock Foreground property not set properly in MetroDark theme?
posted

I wish to allow the user to select from any of the Infragistics Themes for the application. It seems that for the MetroDark theme the Foreground property of the TextBlock is set to black and thus doesn't show up on the (almost) black background.

I can workaround this by binding the TextBlock Foreground to the Foreground property of a Label control (as in the attached example), but that rather defeats the concept of using themes.

Is this a bug, or am I missing something?

TestThemes.zip