when we want to define a template in our user controls, we declare such a field in our user controls
public ITemplate MyTemplate { get; set; }
so that the contents of custom templates are presented in MyTemplate and you can use it.
and there are ways to configure templates, for example
[TemplateInstanceAttribute(TemplateInstance.Single)] public ITemplate MyTemplate { get; set; }
the above example will allow you to specify individual instance templates ( http://www.nikhilk.net/SingleInstanceTemplates.aspx ).
I accidentally stumbled upon patterns of individual instances and carried it by force.
My question is all that is possible with ITEMplates? how we define them (more precisely, through annotations). Is there any good documentation for ITemplates? (please do not point to msdn)
source share