Class ValidationClassHelper
Adds CSS class(es) defined by the attribute 
  
  xn-validation-error-class to a tag if validation failed
for the model field identified by the expression in attribute xn-validation-for.
Inheritance
Microsoft.AspNetCore.Razor.TagHelpers.TagHelper
    ValidationClassHelper
  Namespace: XploRe.AspNetCore.Mvc.TagHelpers
Assembly: XploRe.AspNetCore.Mvc.TagHelpers.dll
Syntax
public class ValidationClassHelper : TagHelperConstructors
| Name | Description | 
|---|---|
| ValidationClassHelper() | 
Properties
| Name | Description | 
|---|---|
| ErrorClass | CSS class(es) to add to the tag in case validation failed. | 
| For | Name to be validated on the current model. If not specified, no action is performed. | 
| ViewContext | The automatically assigned ViewContext instance. | 
Methods
| Name | Description | 
|---|---|
| Process(TagHelperContext, TagHelperOutput) |