Show / Hide Table of Contents

    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 : TagHelper

    Constructors

    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)
    Back to top Copyright © 2017-2018, xplo.re IT Services, Michael Maier. All rights reserved.