Detecting current office theme in c# code

Copper Contributor

Hallo,
I am working on developing an Excel Add-in (using C#). I designed the ribbons' icons to cope with all office thems (Dark gray, Black, White,..etc). How can I detect the current chosen theme by the user in order to display the suitable ribbon icons in my Add-in?

Thanks in advance for your help.

0 Replies