Class ConditionTypeDefinition
- Namespace
- Kentico.PageBuilder.Web.Mvc.Personalization
- Assembly
- Kentico.Content.Web.Mvc.dll
Definition of a personalization condition type for Page builder.
public class ConditionTypeDefinition : ComponentDefinition, IComponentDefinition
- Inheritance
-
objectConditionTypeDefinition
- Implements
- Inherited Members
- Extension Methods
Constructors
ConditionTypeDefinition(string, Type, Type, string, string, string, string)
Creates an instance of the ConditionTypeDefinition class.
public ConditionTypeDefinition(string identifier, Type type, Type controllerType, string name, string description, string iconClass, string hint)
Parameters
identifierstringUnique identifier of the personalization condition type definition.
typeTypeType of the registered condition type.
controllerTypeTypeType of the registered personalization condition type controller.
namestringName of the registered personalization condition type.
descriptionstringDescription of the registered personalization condition type.
iconClassstringFont-icon CSS class of the registered personalization condition type.
hintstringHint displayed above configuration form.
Properties
Hint
Hint displayed above configuration form.
public string Hint { get; }
Property Value
- string
RouteName
Name of the route under which is the condition type available.
public override string RouteName { get; }
Property Value
- string
Type
Type of the registered condition type.
public Type Type { get; }
Property Value
- Type