Interface ITemplatedContent
Represents content that supports templated rendering.
Namespace: Umbraco.Cms.Core.Models
Assembly: Umbraco.Core.dll
Syntax
public interface ITemplatedContent
Properties
View SourcePublishTemplateId
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.
TemplateId
Gets or sets the template id used to render the content.
Declaration
int? TemplateId { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |