Click or drag to resize
ConsentSelectorComponentValidate Method
Validates whether valid consent is selected.

Namespace: Kentico.Forms.Web.Mvc
Assembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 13.0.131
Syntax
C#
public override IEnumerable<ValidationResult> Validate(
	ValidationContext validationContext
)

Parameters

validationContext
Type: System.ComponentModel.DataAnnotationsValidationContext

Return Value

Type: IEnumerableValidationResult

Implements

IValidatableObjectValidate(ValidationContext)
See Also