I have written a plugin for Mission Planner which displays a form with various information on it. I want the form and its components to have visual styles (such as colours etc.) which differ from those of the Mission Planner theme. However, whenever I open the form, visual styles I have set are overridden by the theme. I see that the ApplyTheme() method in the ThemeManager is called recursively so all components and their children have the theme applied to them.
Is there a way to prevent this behaviour from occurring in a plugin?