Is it possible to have DataTemplate
composition or inheritance (similar to "BasedOn" in Styles)? There are 2 instances where I need that.
For inherited classes: I have a base class with several inherited classes. I don't want to duplicate the base class template in each of the derived class's
DataTemplate
.Different Views: for the same class I want to define a datatemplate, and then add to that template as appropriate. Ex. the base template will display the data in the object and then i want different templates that can perform different actions on the object, while displaying the data (inheriting the base template).