Search Results for

    Show / Hide Table of Contents
    View Source

    Interface ITemplatedContent

    Represents content that supports templated rendering.

    Namespace: Umbraco.Cms.Core.Models
    Assembly: Umbraco.Core.dll
    Syntax
    public interface ITemplatedContent

    Properties

    View Source

    PublishTemplateId

    Gets the template id used to render the published version of the content.

    Declaration
    int? PublishTemplateId { get; set; }
    Property Value
    Type Description
    int?
    Remarks

    When editing the content, the template can change, but this will not until the content is published.

    View Source

    TemplateId

    Gets or sets the template id used to render the content.

    Declaration
    int? TemplateId { get; set; }
    Property Value
    Type Description
    int?
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX