Class WidgetDefinition
- Namespace
- Kentico.PageBuilder.Web.Mvc
- Assembly
- Kentico.Content.Web.Mvc.dll
Definition of a widget for Page builder.
public sealed class WidgetDefinition : ViewCustomizableComponentDefinition, IComponentDefinition
- Inheritance
-
objectWidgetDefinition
- Implements
- Inherited Members
- Extension Methods
Properties
DefaultPropertiesActionName
Name of the default properties action.
public string DefaultPropertiesActionName { get; }
Property Value
- string
DefaultViewSubFolderName
Folder used to locate the view when specific path is not provided via constructor.
protected override string DefaultViewSubFolderName { get; }
Property Value
- string
PropertiesFormMarkupControllerName
Name of the properties form markup controller.
public string PropertiesFormMarkupControllerName { get; }
Property Value
- string
PropertiesType
Type of the registered widget properties model.
public Type PropertiesType { get; }
Property Value
- Type
Remarks
The type needs to implement the IWidgetProperties interface.
RouteName
Name of the route under which is the widget available.
public override string RouteName { get; }
Property Value
- string