HtmlHelper.ValidationMessageValidCssClassName Property

Definition

Gets or sets the name of the CSS class that defines the appearance of validation error messages when validation passes.

public static string ValidationMessageValidCssClassName { get; set; }
member this.ValidationMessageValidCssClassName : string with get, set
Public Shared Property ValidationMessageValidCssClassName As String

Property Value

The name of the CSS class. The default is field-validation-valid.

Applies to