Click or drag to resize
IFormComponentPropertiesMapperFromFieldInfo Method
Maps an instance of FormFieldInfo to corresponding FormComponentProperties. To extract identifier of corresponding FormComponentDefinition use GetComponentIdentifier(FormFieldInfo).

Namespace: Kentico.Forms.Web.Mvc
Assembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 13.0.131
Syntax
C#
FormComponentProperties FromFieldInfo(
	FormFieldInfo formFieldInfo
)

Parameters

formFieldInfo
Type: CMS.FormEngineFormFieldInfo
Form field to be mapped.

Return Value

Type: FormComponentProperties
Returns an instance of FormComponentProperties which corresponds to given form field.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown when formFieldInfo is null.
See Also