How to use ThemeManager.DesignModeTheme with metro themes

WPF Studio, Themes, and Shared Library for WPF Forum

Posted 10 years ago by Thomas
Version: 14.2.0610

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 10 years ago by Actipro Software Support - Cleveland, OH, USA

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 10 years ago by Thomas

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 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.