Click or drag to resize
IEditingComponentConfiguratorConfigureFormComponentProperties Method
Configures given formComponentProperties according to propertyInfo's attributes. The EditingComponentAttribute and EditingComponentPropertyAttribute classes are supported.

Namespace: Kentico.Forms.Web.Mvc
Assembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 13.0.131
Syntax
C#
void ConfigureFormComponentProperties(
	PropertyInfo propertyInfo,
	FormComponentProperties formComponentProperties
)

Parameters

propertyInfo
Type: System.ReflectionPropertyInfo
PropertyInfo annotated with EditingComponentPropertyAttributes for configuring FormComponentTProperties, TValue that handles editing of propertyInfo in Form builder UI.
formComponentProperties
Type: Kentico.Forms.Web.MvcFormComponentProperties
Properties of the FormComponentTProperties, TValue used for editing propertyInfo in Form builder UI.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown when propertyInfo or formComponentProperties is null.
InvalidOperationExceptionThrown when an EditingComponentPropertyAttribute of propertyInfo specifies a property which does not exist within formComponentProperties.
See Also