How to use ThemeManager.DesignModeTheme with metro themes

WPF Studio, Themes, and Shared Library for WPF Forum

Posted 9 years ago by Thomas
Version: 14.2.0610
Avatar

Setting ThemeManager.DesignModeTheme="MetroWhite" on my ribbon window via xaml does not change the appearance of the window in the Visual Studio designer. At runtime the theme gets applied without any problems. For example "Classic" theme works in designer, but not the metro themes.

Could the problem be relatet to the fact, that ThemesMetroThemeCatalogRegistrar.Register() will only be called at runtime?

Comments (2)

Posted 9 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Thomas,

Yes, that's the problem here.  Since the Metro themes are defined in a separate assembly there isn't anything at run-time to register them like you do at run-time.  Sorry but I don't believe there is a workaround for this issue.


Actipro Software Support

Posted 9 years ago by Thomas
Avatar

It would be more efficient to use the designer for view creation instead of starting the application for each change, but I can live with that. :-)

Thanks for your answer.

The latest build of this product (v24.1.2) was released 1 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.