Is it possible to have DataTemplate composition or inheritance (similar to \"BasedOn\" in Styles)? There are 2 instances where I need that.
For
The only thing that I have found do to for this kind of thing is this:
Basically this creates a "common" template that can be referenced using a key (BaseClass in this case). Then we define the real DataTemplate for the base class, and any derived classes. The derived class template would then add it's own "stuff".
There was some discussion about this on msdn a while back, but no one came up with a better solution that I saw.