PageTemplateDefinition Class |
Namespace: Kentico.PageBuilder.Web.Mvc.PageTemplates
public sealed class PageTemplateDefinition : ViewCustomizableComponentDefinition, IComponentDefinition
The PageTemplateDefinition type exposes the following members.
Name | Description | |
---|---|---|
PageTemplateDefinition(String, Type, String, String, String) |
Creates an instance of the PageTemplateDefinition class with a custom controller.
| |
PageTemplateDefinition(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.
|
Name | Description | |
---|---|---|
ControllerFullName |
Gets the fully qualified name of the component controller type, including its namespace without the assembly name.
(Inherited from ComponentDefinition.) | |
ControllerName |
Name of the controller derived from controller class name without the Controller suffix.
(Inherited from ComponentDefinition.) | |
DefaultPropertiesActionName |
Name of the default properties action.
| |
DefaultViewSubFolderName |
Folder used to locate the view when specific path is not provided via constructor.
(Overrides ViewCustomizableComponentDefinitionDefaultViewSubFolderName.) | |
Description |
Description of the registered component.
(Inherited from ComponentDefinition.) | |
IconClass |
Icon CSS class of the registered component.
(Inherited from ComponentDefinition.) | |
Identifier |
Unique identifier of the component definition.
(Inherited from ComponentDefinitionBase.) | |
IsCustom |
Indicates whether specific view was provided via constructor, or the system should look for the view in default location.
(Inherited from ViewCustomizableComponentDefinition.) | |
Name |
Name of the registered component.
(Inherited from ComponentDefinitionBase.) | |
PropertiesFormMarkupControllerName |
Name of the properties form markup controller.
| |
PropertiesType |
Type of the registered page template properties model.
| |
RouteName |
There is no route for page templates. The template markup is rendered directly.
(Overrides ComponentDefinitionRouteName.) | |
ViewComponentType |
Type of the view component to be rendered.
(Inherited from ViewCustomizableComponentDefinition.) | |
ViewPath |
Path of the view to be rendered.
(Inherited from ViewCustomizableComponentDefinition.) |