Class ComponentDefinition
- Namespace
- Kentico.PageBuilder.Web.Mvc
- Assembly
- Kentico.Content.Web.Mvc.dll
Definition of a component for Page builder.
public abstract class ComponentDefinition : ComponentDefinitionBase, IComponentDefinition
- Inheritance
-
objectComponentDefinition
- Implements
- Derived
- Inherited Members
- Extension Methods
Constructors
ComponentDefinition(string, Type, string, string, string)
Creates an instance of the ComponentDefinition class.
protected ComponentDefinition(string identifier, Type controllerType, string name, string description, string iconClass)
Parameters
identifierstringUnique identifier of the component definition.
controllerTypeTypeType of the registered component controller.
namestringName of the registered component.
descriptionstringDescription of the registered component.
iconClassstringFont-icon CSS class of the registered component.
Properties
ControllerFullName
Gets the fully qualified name of the component controller type, including its namespace without the assembly name.
public string ControllerFullName { get; }
Property Value
- string
ControllerName
Name of the controller derived from controller class name without the Controller suffix.
public string ControllerName { get; }
Property Value
- string
Description
Description of the registered component.
public string Description { get; }
Property Value
- string
IconClass
Icon CSS class of the registered component.
public string IconClass { get; }
Property Value
- string
RouteName
Name of the route under which is the component available.
public abstract string RouteName { get; }
Property Value
- string