Class TemplateNode
Represents a template in a template tree
Inheritance
System.Object
Namespace: Umbraco.Core.Models
Assembly: Umbraco.Core.dll
Syntax
public class TemplateNode
Constructors
View SourceTemplateNode(ITemplate)
Declaration
public TemplateNode(ITemplate template)
Parameters
Type | Name | Description |
---|---|---|
ITemplate | template |
Properties
View SourceChildren
The children of the current template
Declaration
public IEnumerable<TemplateNode> Children { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<TemplateNode> |
Parent
The parent template to the current template
Declaration
public TemplateNode Parent { get; set; }
Property Value
Type | Description |
---|---|
TemplateNode |
Remarks
Will be null if there is no parent
Template
The current template
Declaration
public ITemplate Template { get; set; }
Property Value
Type | Description |
---|---|
ITemplate |