When theme is set for a control in main window, and in run time when this control is removed and the usercontrol for which the theme is set, is added in the main window then the theme is not applied to the user control. This issue occurs when setting the theme in the designer.
Run the sample.
Click user control button.
Note that the style is not applied to the usercontrol's button.