Click or drag to resize
ComponentControllerTPropertiesType Class
Base class for Page builder component controller with custom properties of type TPropertiesType.
Inheritance Hierarchy
SystemObject
  ControllerBase
    Controller
      Kentico.PageBuilder.Web.MvcComponentController
        Kentico.PageBuilder.Web.MvcComponentControllerTPropertiesType
          Kentico.PageBuilder.Web.Mvc.PageTemplatesPageTemplateControllerTPropertiesType
          Kentico.PageBuilder.Web.MvcSectionControllerTPropertiesType
          Kentico.PageBuilder.Web.MvcWidgetControllerTPropertiesType

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

Type Parameters

TPropertiesType
The properties type of the component.

The ComponentControllerTPropertiesType type exposes the following members.

Constructors
  NameDescription
Protected methodComponentControllerTPropertiesType
Creates an instance of ComponentControllerTPropertiesType class.
Protected methodComponentControllerTPropertiesType(IComponentPropertiesRetrieverTPropertiesType, ICurrentPageRetriever)
Creates an instance of ComponentControllerTPropertiesType class.
Top
Methods
  NameDescription
Protected methodGetPage
Gets the page where the component is placed.
(Inherited from ComponentController.)
Protected methodGetProperties
Gets properties of a component based on TPropertiesType type.
Top
See Also