Class TemplateNode
Represents a template in a template tree
Inheritance
System.Object
Namespace:System.Dynamic.ExpandoObject
Assembly:Umbraco.Core.dll
Syntax
public class TemplateNode
Constructors
TemplateNode(ITemplate)
Declaration
public TemplateNode(ITemplate template)
Parameters
Type | Name | Description |
---|---|---|
ITemplate | template |
Properties
Children
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 |