IFormComponentBinderBindFormComponent Method |
Binds data to an instance of a model.
Namespace: Kentico.Forms.Web.MvcAssembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 13.0.131
Syntax Task BindFormComponent(
FormComponent model,
string prefix,
Predicate<string> propertyNameFilter = null
)
Parameters
- model
- Type: Kentico.Forms.Web.MvcFormComponent
Form component instance to which bind data from form collection. - prefix
- Type: SystemString
Prefix used in the form's inputs. - propertyNameFilter (Optional)
- Type: SystemPredicateString
Predicate, based on property names, to filter which properties are to be bound.
Return Value
Type:
TaskSee Also