I am using Prism, and loading UI components from modules. I have the view models appearing correctly using the DockingAdapter, but I need to apply DataTemplates based upon the type of view model. I cannot hard code them in Xaml in the application's resources, so I need a DataTemplateSelector to select the proper template for the view model.
How can I use a DataTemplateSelector for the content in the DockingManager?