Click or drag to resize
ViewCustomizableComponentDefinition Constructor (String, String, String, String, String, Type)
Creates a definition of a simple component which uses a custom view for rendering.

Namespace: Kentico.PageBuilder.Web.Mvc
Assembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 13.0.131
Syntax
C#
protected ViewCustomizableComponentDefinition(
	string identifier,
	string customViewName,
	string name,
	string description,
	string iconClass,
	Type defaultControllerType
)

Parameters

identifier
Type: SystemString
Unique identifier of the component definition.
customViewName
Type: SystemString
Custom view name for the registered component. If not specified, the default system view name in format '~/Shared/{ComponentType}/_{identifier}' is used.
name
Type: SystemString
Name of the registered component.
description
Type: SystemString
Description of the registered component.
iconClass
Type: SystemString
Font-icon CSS class of the registered component.
defaultControllerType
Type: SystemType
Type of the controller that is responsible for returning component's markup in the edit mode.
Remarks
Component without a controller is a syntactical sugar to ease the implementation, however, there still must exist a controller that returns the component's markup in the edit mode of Page builder.
See Also