HtmlHelper.ValidationMessageCssClassName Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the name of the CSS class that defines the appearance of validation error messages when validation fails.
public static string ValidationMessageCssClassName { get; set; }
member this.ValidationMessageCssClassName : string with get, set
Public Shared Property ValidationMessageCssClassName As String
Property Value
The name of the CSS class. The default is field-validation-error.