Table of Contents

Class PageTemplateMetadata

Namespace
Kentico.PageBuilder.Web.Mvc.PageTemplates
Assembly
Kentico.Content.Web.Mvc.dll

Metadata of a page template definition.

public sealed class PageTemplateMetadata
Inheritance
object
PageTemplateMetadata
Extension Methods

Properties

DefaultPropertiesUrl

URL of the page template definition to retrieve the default properties.

[JsonProperty("defaultPropertiesUrl")]
public string DefaultPropertiesUrl { get; }

Property Value

string

Description

Description of the registered page template.

[JsonProperty("description")]
public string Description { get; }

Property Value

string

HasProperties

Indicates whether the page template has at least one property which is decorated with EditingComponentAttribute

[JsonProperty("hasProperties")]
public bool HasProperties { get; }

Property Value

bool

IconClass

Icon CSS class of the registered page template.

[JsonProperty("iconClass")]
public string IconClass { get; }

Property Value

string

Name

Name of the registered page template.

[JsonProperty("name")]
public string Name { get; }

Property Value

string

PropertiesFormMarkupUrl

URL of the page template definition to retrieve the properties form markup.

[JsonProperty("propertiesFormMarkupUrl")]
public string PropertiesFormMarkupUrl { get; }

Property Value

string

TypeIdentifier

Type page template identifier.

[JsonProperty("typeIdentifier")]
public string TypeIdentifier { get; }

Property Value

string

UseAdminFormComponents

Indicates whether the page template properties form should be opened from the administration UI using admin form components or from the page builder using MVC form components.

[JsonProperty("useAdminFormComponents")]
public bool UseAdminFormComponents { get; set; }

Property Value

bool