Defines a Template File (Mvc View)
Namespace: Umbraco.Cms.Core.Models Assembly: Umbraco.Core.dll Syntaxpublic interface ITemplate : IFile, IEntity, IDeepCloneable, IRememberBeingDirty, ICanBeDirty
Properties View Source Alias
Gets the Alias of the File, which is the name without the extension
Declarationstring Alias { get; set; }
Property Value Type Description System.String View Source IsMasterTemplate
Returns true if the template is used as a layout for other templates (i.e. it has 'children')
Declarationbool IsMasterTemplate { get; set; }
Property Value Type Description System.Boolean View Source MasterTemplateAlias
returns the master template alias
Declarationstring MasterTemplateAlias { get; }
Property Value Type Description System.String View Source Name
Gets the Name of the File including extension
Declarationstring Name { get; set; }
Property Value Type Description System.String Methods View Source SetMasterTemplate(ITemplate)
Set the mastertemplate
Declarationvoid SetMasterTemplate(ITemplate masterTemplate)
Parameters Type Name Description ITemplate masterTemplate
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4