Click or drag to resize
PageTemplateDefinition Class
Definition of a page template for Page builder feature.
Inheritance Hierarchy
SystemObject
  Kentico.Content.Web.MvcComponentDefinitionBase
    Kentico.PageBuilder.Web.MvcComponentDefinition
      Kentico.PageBuilder.Web.MvcViewCustomizableComponentDefinition
        Kentico.PageBuilder.Web.Mvc.PageTemplatesPageTemplateDefinition

Namespace: Kentico.PageBuilder.Web.Mvc.PageTemplates
Assembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 13.0.131
Syntax
C#
public sealed class PageTemplateDefinition : ViewCustomizableComponentDefinition, 
	IComponentDefinition

The PageTemplateDefinition type exposes the following members.

Constructors
  NameDescription
Public methodPageTemplateDefinition(String, Type, String, String, String)
Creates an instance of the PageTemplateDefinition class with a custom controller.
Public methodPageTemplateDefinition(String, String, String, String, String, Type)
Creates an instance of the PageTemplateDefinition class with custom view and without custom controller assigned to the page template. The default system controller is used instead.
Top
Properties
  NameDescription
Public propertyControllerFullName
Gets the fully qualified name of the component controller type, including its namespace without the assembly name.
(Inherited from ComponentDefinition.)
Public propertyControllerName
Name of the controller derived from controller class name without the Controller suffix.
(Inherited from ComponentDefinition.)
Public propertyDefaultPropertiesActionName
Name of the default properties action.
Protected propertyDefaultViewSubFolderName
Folder used to locate the view when specific path is not provided via constructor.
(Overrides ViewCustomizableComponentDefinitionDefaultViewSubFolderName.)
Public propertyDescription
Description of the registered component.
(Inherited from ComponentDefinition.)
Public propertyIconClass
Icon CSS class of the registered component.
(Inherited from ComponentDefinition.)
Public propertyIdentifier
Unique identifier of the component definition.
(Inherited from ComponentDefinitionBase.)
Public propertyIsCustom
Indicates whether specific view was provided via constructor, or the system should look for the view in default location.
(Inherited from ViewCustomizableComponentDefinition.)
Public propertyName
Name of the registered component.
(Inherited from ComponentDefinitionBase.)
Public propertyPropertiesFormMarkupControllerName
Name of the properties form markup controller.
Public propertyPropertiesType
Type of the registered page template properties model.
Public propertyRouteName
There is no route for page templates. The template markup is rendered directly.
(Overrides ComponentDefinitionRouteName.)
Public propertyViewComponentType
Type of the view component to be rendered.
(Inherited from ViewCustomizableComponentDefinition.)
Public propertyViewPath
Path of the view to be rendered.
(Inherited from ViewCustomizableComponentDefinition.)
Top
See Also