Export (0) Print
Expand All

HtmlHelper.ValidationInputCssClassName Property

Gets or sets the name of the CSS class that is associated with field validation error messages.

Namespace:  System.Web.WebPages.Html
Assembly:  System.Web.WebPages (in System.Web.WebPages.dll)

public static string ValidationInputCssClassName { get; set; }

Property Value

Type: System.String
The name of the CSS class that is associated with field validation errors. The default is field-validation-error.

ExceptionCondition
ArgumentNullException

value is null.

  • Medium trust for the immediate caller. This member can be used by partially trusted code.
Show:
© 2014 Microsoft