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
identifier
stringUnique identifier of the component definition.
controllerType
TypeType of the registered component controller.
name
stringName of the registered component.
description
stringDescription of the registered component.
iconClass
stringFont-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