Click or drag to resize
IFormComponentBinder Interface
Defines contract for binding form components.

Namespace: Kentico.Forms.Web.Mvc
Assembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 13.0.131
Syntax
C#
public interface IFormComponentBinder

The IFormComponentBinder type exposes the following members.

Methods
  NameDescription
Public methodAddModelStateError
Adds key with errorMessage to the model state.
Public methodBindFormComponent
Binds data to an instance of a model.
Public methodIsModelValid
Checks whether model with specified prefix is valid.
Public methodPrebindComponentCollection
Binds a collection of form components specified components while omitting attribute and Validate(ValidationContext) validation.
Public methodRemoveFromModelState
Removes entries with specified prefix prefix from the model state.
Public methodValidate
Validates the model and adds error into the model state.
Top
See Also