Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

You can set properties in a sub-template from the main template easily, because they're all available as properties of the instantiated sub-template object. Here's an example:

   // instantiate the sub-template
   Header header = this.Create<Header>();
   // include the meta tag
   header.IncludeMeta = true;

In this case, IncludeMeta is a boolean property defined with a Property directive in the sub-template.

  • No labels