次の方法で共有


ViewContext.ClientValidationEnabled Property

Gets or sets a value that indicates whether client-side validation is enabled.

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

Syntax

'Declaration
Public Overridable Property ClientValidationEnabled As Boolean
    Get
    Set
public virtual bool ClientValidationEnabled { get; set; }
public:
virtual property bool ClientValidationEnabled {
    bool get ();
    void set (bool value);
}

Property Value

Type: System.Boolean
true if client-side validation is enabled; otherwise, false.

See Also

Reference

ViewContext Class

System.Web.Mvc Namespace