High contrast theme is not applied automatically

Ribbon for WPF Forum

Posted 10 years ago by AlexanderB - Software Developer, Edifecs
Version: 10.2.0531
Avatar
Hi,

When I'm changing Windows theme to High Contrast (via Personalize dialog, or with Ctrl + Left ALT + Print Screen), Ribbon's theme is changed to some default one.
Is that expected bahavior? How I can achieve automatical theme switching to HighContrast? Maybe I should somehow register HighContrast-theme with ThemeManager?

Thanks in advance

Comments (2)

Posted 10 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Alexander,

Sorry but there isn't a built-in system theme for high contrast mode that WPF will kick in automatically. So while our products do have a HighContrast theme, you'd have to attach to the system to get notification of when it should become active and then set ThemeManager.CurrentTheme = "HighContrast" programmatically.


Actipro Software Support

Posted 10 years ago by AlexanderB - Software Developer, Edifecs
Avatar
Understood. Thank you!
The latest build of this product (v2020.1.0) was released 18 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.