Click or drag to resize
FormBuilderModelBinder Class
Model binder used for binding values when submitting forms built via Form builder.
Inheritance Hierarchy
SystemObject
  Kentico.Forms.Web.MvcFormBuilderModelBinder

Namespace: Kentico.Forms.Web.Mvc
Assembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 12.0.0
Syntax
C#
public class FormBuilderModelBinder : IModelBinder

The FormBuilderModelBinder type exposes the following members.

Constructors
  NameDescription
Public methodFormBuilderModelBinder
Initializes a new instance of the FormBuilderModelBinder class.
Top
Methods
  NameDescription
Public methodBindModel
Method called automatically when parameter is annotated with with type set to this binder. Performs validation of the model and in case of any errors populates the ModelState of the controllerContext.
Protected methodGetDisplayedFormComponents
Returns list of form components displayed by form.
Top
See Also