Click or drag to resize
IFormComponentPropertiesMapperToFormFieldInfo Method
Maps an instance of FormComponentProperties to corresponding FormFieldInfo.

Namespace: Kentico.Forms.Web.Mvc
Assembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 12.0.0
Syntax
C#
FormFieldInfo ToFormFieldInfo(
	FormComponentProperties formComponentProperties,
	string componentIdentifier
)

Parameters

formComponentProperties
Type: Kentico.Forms.Web.MvcFormComponentProperties
Form component properties to be mapped.
componentIdentifier
Type: SystemString
Identifier of corresponding FormComponentDefinition to be stored along with formComponentProperties.

Return Value

Type: FormFieldInfo
Returns an instance of FormFieldInfo which corresponds to given properties and type identifier.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown when formComponentProperties is null.
See Also