Different data templates for groups

Is there any way to set different data template for a few groups in the diagram and a different template for the other groups or does it have to be the same data template for each group in the diagram?

You can use multiple DataTemplates by using a DataTemplateDictionary as the value of the Diagram.GroupTemplateDictionary.

The particular DataTemplate used for a group data is determined by its Category, a string, which is used as the key in the DataTemplateDictionary.

Several samples make use of DataTemplateDictionarys. The GoXamIntro also talks about it, in the section “Template Dictionaries”.

Thank you very much, That is exactly what I was looking for