Any way to use interfaces with wpf HierarchicalDataTemplate
问题 Hi I am using an interface IFooNode, which is part of a tree. I wanted to display this tree in a TreeView using a HierarchicalDataTemplate. This however does not work due to the interface. I see two ways around that neither are what I would call "nice" Find out what type really implements IFooNode (let's call it FooNode...), then find the assembly defining FooNode, add a Reference to that assembly and create a HierarchicalDataTemplate for FooNode (hoping the Implementating class never changes