Click or drag to resize
IFormComponentActivator Interface
Defines methods for creating form components and their properties.

Namespace: Kentico.Forms.Web.Mvc
Assembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 13.0.131
Syntax
C#
public interface IFormComponentActivator

The IFormComponentActivator type exposes the following members.

Methods
  NameDescription
Public methodCreateDefaultProperties
Creates a new instance of the form component's properties specified by component's definition.
Public methodCreateFormComponent(FormComponentDefinition, FormComponentContext)
Creates a new instance of the form component specified by its definition with default property values.
Public methodCreateFormComponent(FormComponentDefinition, FormComponentProperties, FormComponentContext)
Creates a new instance of the form component specified by its definition using the properties given.
Top
See Also