Search Results for

    Show / Hide Table of Contents
    View Source

    Class TemplateNode

    Represents a template in a template tree

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Core.Models
    Assembly: Umbraco.Core.dll
    Syntax
    public class TemplateNode

    Constructors

    View Source

    TemplateNode(ITemplate)

    Declaration
    public TemplateNode(ITemplate template)
    Parameters
    Type Name Description
    ITemplate template

    Properties

    View Source

    Children

    The children of the current template

    Declaration
    public IEnumerable<TemplateNode> Children { get; set; }
    Property Value
    Type Description
    IEnumerable<TemplateNode>
    View Source

    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

    View Source

    Template

    The current template

    Declaration
    public ITemplate Template { get; set; }
    Property Value
    Type Description
    ITemplate
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • TemplateNode(ITemplate)
    • Properties
      • Children
      • Parent
      • Template
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX