Template
Represents a Template file.
using Umbraco.Cms.Core.Models;Constructors
new Template(IShortStringHelper shortStringHelper, string name, string alias)
Properties
.Alias
var template = new Template(shortStringHelper, "Page", "page");
return template.Alias;.IsMasterTemplate
.MasterTemplateAlias
.MasterTemplateId
.Name
Methods
.SetMasterTemplate(ITemplate masterTemplate)
Last updated
Was this helpful?