Click or drag to resize
RegisterPageTemplateAttribute Class
Registers a page template definition to be used within the system.
Inheritance Hierarchy
SystemObject
  SystemAttribute
    Kentico.PageBuilder.Web.MvcRegisterComponentAttribute
      Kentico.PageBuilder.Web.Mvc.PageTemplatesRegisterPageTemplateAttribute

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 RegisterPageTemplateAttribute : RegisterComponentAttribute, 
	IPreInitAttribute

The RegisterPageTemplateAttribute type exposes the following members.

Constructors
  NameDescription
Public methodRegisterPageTemplateAttribute(String, Type, String)
Registers a page builder page template with a custom controller.
Public methodRegisterPageTemplateAttribute(String, String, Type, String)
Registers a simple page builder page template using a view.
Top
Properties
  NameDescription
Public propertyDescription
Description of the registered component.
(Inherited from RegisterComponentAttribute.)
Public propertyIconClass
Font-icon CSS class of the registered component.
(Inherited from RegisterComponentAttribute.)
Public propertyIdentifier
Unique identifier of the component definition.
(Inherited from RegisterComponentAttribute.)
Public propertyMarkedType
Type of the registered component controller.
(Inherited from RegisterComponentAttribute.)
Public propertyName
Name of the registered component.
(Inherited from RegisterComponentAttribute.)
Top
Methods
  NameDescription
Public methodPreInit
Registers the page template definition during application pre-initialization.
(Overrides RegisterComponentAttributePreInit.)
Top
See Also