Click or drag to resize
RegisterWidgetAttribute Class
Registers a widget definition to be used within Page builder feature.
Inheritance Hierarchy
SystemObject
  SystemAttribute
    Kentico.PageBuilder.Web.MvcRegisterComponentAttribute
      Kentico.PageBuilder.Web.MvcRegisterWidgetAttribute

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 RegisterWidgetAttribute : RegisterComponentAttribute

The RegisterWidgetAttribute type exposes the following members.

Constructors
  NameDescription
Public methodRegisterWidgetAttribute(String, Type, String)
Registers a page builder widget with a custom controller.
Public methodRegisterWidgetAttribute(String, String, Type, String)
Registers a simple page builder widget using a view.
Top
Properties
  NameDescription
Public propertyDescription
Description of the registered component.
(Inherited from RegisterComponentAttribute.)
Public propertyIconClass
Font-icon CSS class of the registered component.
(Inherited from RegisterComponentAttribute.)
Public propertyIdentifier
Unique identifier of the component definition.
(Inherited from RegisterComponentAttribute.)
Public propertyMarkedType
Type of the registered component controller.
(Inherited from RegisterComponentAttribute.)
Public propertyName
Name of the registered component.
(Inherited from RegisterComponentAttribute.)
Top
Methods
See Also