Partager via


HtmlHelper.ValidationMessageCssClassName Field

The name of the CSS class that is used to style the error message when a validation error occurs.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

Syntax

'Declaration
Public Shared ReadOnly ValidationMessageCssClassName As String
public static readonly string ValidationMessageCssClassName
public:
static initonly String^ ValidationMessageCssClassName

See Also

Reference

HtmlHelper Class

System.Web.Mvc Namespace