Click or drag to resize
WidgetDefinition Constructor
Creates an instance of the WidgetDefinition class with a custom controller.

Namespace: Kentico.PageBuilder.Web.Mvc
Assembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 13.0.131
Syntax
C#
public WidgetDefinition(
	string identifier,
	Type controllerType,
	string name,
	string description,
	string iconClass
)

Parameters

identifier
Type: SystemString
Unique identifier of the widget definition.
controllerType
Type: SystemType
Type of the registered widget controller.
name
Type: SystemString
Name of the registered widget.
description
Type: SystemString
Description of the registered widget.
iconClass
Type: SystemString
Font-icon CSS class of the registered widget.
See Also