Click or drag to resize
RegisterFormComponentAttribute Constructor
Initializes a new instance of the RegisterFormComponentAttribute class.

Namespace: Kentico.Forms.Web.Mvc
Assembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 12.0.0
Syntax
C#
public RegisterFormComponentAttribute(
	string identifier,
	Type formComponentType,
	string name
)

Parameters

identifier
Type: SystemString
Unique identifier of the form component.
formComponentType
Type: SystemType
Type of the form component. The form component must inherit the FormComponentTProperties, TValue class.
name
Type: SystemString
Name of the form component.
Remarks
Make sure to provide a unique identifier for the form component from the start. This identifier is used within the form configuration of components and any further change can lead to incorrect configuration load. Consider specifying identifier in format 'CompanyName.ModuleName.ComponentName', e.g. 'Kentico.Content.TextInputComponent'.
See Also