Click or drag to resize
IFormComponentActivatorCreateDefaultProperties Method
Creates a new instance of the form component's properties specified by component's definition.

Namespace: Kentico.Forms.Web.Mvc
Assembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 12.0.0
Syntax
C#
FormComponentProperties CreateDefaultProperties(
	FormComponentDefinition definition
)

Parameters

definition
Type: Kentico.Forms.Web.MvcFormComponentDefinition
Form component definition for which to create a default properties instance.

Return Value

Type: FormComponentProperties
Returns an instance of form component properties as described by its definition.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown when definition is null.
See Also