RhinoPlugin is a class library project and cannot switch styles by adding a resource dictionary in App.xaml like a regular application. Is there an appropriate method to do this?
like this
You can dynamically merge in any Xaml Resources that your plugin needs during the OnLoad() method for your plugin.
For instance, we apply specific styles for our application, and override some existing styles of Rhino when our plugin loads, using a static helper class similar to the following: