Is there a way to have the NodeTemplate selected based on the type of the node data? Setting the DataTemplate’s DataType does not seem to work. I thought of using a DataTemplateDictionary but my data does not really have an appropriate property to use for the NodeCategoryPath.
It would be easiest to override the model’s FindCategoryForNodeData method to return the desired category name, which the PartManager later uses to decide which DataTemplate to apply.
Thanks Walter, that is just what was needed.