HtmlHelper.ValidationInputCssClassName Property

Definition

Gets or sets the name of the CSS class that defines the appearance of input elements when validation fails.

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

Property Value

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

Applies to