Click or drag to resize
PageTemplateControllerTPropertiesType Class
Base class for Page builder page template controller with custom properties of type TPropertiesType.
Inheritance Hierarchy
SystemObject
  ControllerBase
    Controller
      Kentico.Web.Mvc.InternalControllerProxy
        Kentico.PageBuilder.Web.Mvc.InternalComponentController
          Kentico.PageBuilder.Web.Mvc.InternalComponentControllerTPropertiesType
            Kentico.PageBuilder.Web.Mvc.PageTemplatesPageTemplateControllerTPropertiesType

Namespace: Kentico.PageBuilder.Web.Mvc.PageTemplates
Assembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 13.0.131
Syntax
C#
public abstract class PageTemplateController<TPropertiesType> : ComponentController<TPropertiesType>
where TPropertiesType : class, new(), IPageTemplateProperties

Type Parameters

TPropertiesType

The PageTemplateControllerTPropertiesType type exposes the following members.

Constructors
  NameDescription
Protected methodPageTemplateControllerTPropertiesType
Creates an instance of PageTemplateControllerTPropertiesType class.
Protected methodPageTemplateControllerTPropertiesType(IPageTemplatePropertiesRetrieverTPropertiesType, ICurrentPageRetriever) Obsolete.
Creates an instance of PageTemplateControllerTPropertiesType class.
Top
Methods
  NameDescription
Protected methodBadRequest
Creates an HttpStatusCodeResult that produces a BadRequest response.
(Inherited from ControllerProxy.)
Protected methodForbid
Creates an HttpStatusCodeResult that produces a Forbidden response.
(Inherited from ControllerProxy.)
Protected methodGetPage Obsolete.
Gets the page where the component is placed.
(Inherited from ComponentController.)
Protected methodGetProperties Obsolete.
Gets properties of a component based on TPropertiesType type.
(Inherited from ComponentControllerTPropertiesType.)
Protected methodJson
Creates an ContentResult that produces a response with content type 'application/json'.
(Inherited from ControllerProxy.)
Protected methodNotFound
Creates an HttpStatusCodeResult that produces a NotFound response.
(Inherited from ControllerProxy.)
Protected methodStatusCode
Creates an HttpStatusCodeResult by specifying a statusCode.
(Inherited from ControllerProxy.)
Protected methodUnauthorized
Creates an HttpStatusCodeResult that produces a Unauthorized response.
(Inherited from ControllerProxy.)
Top
See Also