HtmlHelper.ValidationSummaryClass Property

Definition

Gets or sets the name of the CSS class that defines the appearance of a validation summary when validation fails.

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

Property Value

The name of the CSS class. The default is validation-summary-errors.

Applies to