I am working on a WinForms app using Telerik 2016 Q2. It contains several themes created with Visual Style Builder that are managed by a radThemeManager control accessing the XML files directly (not as a resource). The Visual Studio 2015 solution also contains a couple of Telerik-created themes (visualStudio2012LightTheme1 & office2013LightTheme1).
I would like to assign one of my custom themes to a radMessageBox control. Whatever I try, no theme is assigned. I first tried:
RadMessageBox.SetThemeName("customTheme");
RadMessageBox.Show(this, "messagebox text", "titleg", MessageBoxButtons.OK, RadMessageIcon.Info);
The I tried putting this in the load event of the form:
ThemeResolutionService.ApplicationThemeName = "customTheme";
Neither worked. I then tried:
RadMessageBox.SetThemeName("visualStudio2012LightTheme1"); //Telerik-supplied theme
This partially worked as expected. It did override the custom themes of my controls throughout the form, but the radMessageBox still did not receive the theme (it was still set to the default theme).
How can I apply a custom theme to a radMessageBox?
Thanks.