Click or drag to resize
WidgetDefinition Class
Definition of a widget for Page builder.
Inheritance Hierarchy

Namespace: Kentico.PageBuilder.Web.Mvc
Assembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 13.0.131
Syntax
C#
public sealed class WidgetDefinition : ViewCustomizableComponentDefinition, 
	IComponentDefinition

The WidgetDefinition type exposes the following members.

Constructors
  NameDescription
Public methodWidgetDefinition
Creates an instance of the WidgetDefinition class with a custom controller.
Top
Properties
  NameDescription
Public propertyControllerFullName
Gets the fully qualified name of the component controller type, including its namespace without the assembly name.
(Inherited from ComponentDefinition.)
Public propertyControllerName
Name of the controller derived from controller class name without the Controller suffix.
(Inherited from ComponentDefinition.)
Public propertyDefaultPropertiesActionName
Name of the default properties action.
Protected propertyDefaultViewSubFolderName
Folder used to locate the view when specific path is not provided via constructor.
(Overrides ViewCustomizableComponentDefinitionDefaultViewSubFolderName.)
Public propertyDescription
Description of the registered component.
(Inherited from ComponentDefinition.)
Public propertyIconClass
Icon CSS class of the registered component.
(Inherited from ComponentDefinition.)
Public propertyIdentifier
Unique identifier of the component definition.
(Inherited from ComponentDefinitionBase.)
Public propertyIsCustom
Indicates whether specific view was provided via constructor, or the system should look for the view in default location.
(Inherited from ViewCustomizableComponentDefinition.)
Public propertyName
Name of the registered component.
(Inherited from ComponentDefinitionBase.)
Public propertyPropertiesFormMarkupControllerName
Name of the properties form markup controller.
Public propertyPropertiesType
Type of the registered widget properties model.
Public propertyRouteName
Name of the route under which is the widget available.
(Overrides ComponentDefinitionRouteName.)
Public propertyViewComponentType
Type of the view component to be rendered.
(Inherited from ViewCustomizableComponentDefinition.)
Public propertyViewPath
Path of the view to be rendered.
(Inherited from ViewCustomizableComponentDefinition.)
Top
See Also