Share via


ModelValidationNode.ValidateAllProperties Property

 

Gets or sets a value that indicates whether all properties of the model should be validated.

Namespace:   Microsoft.Web.Mvc.ModelBinding
Assembly:  Microsoft.Web.Mvc (in Microsoft.Web.Mvc.dll)

Syntax

public bool ValidateAllProperties { get; set; }
public:
property bool ValidateAllProperties {
    bool get();
    void set(bool value);
}
member ValidateAllProperties : bool with get, set
Public Property ValidateAllProperties As Boolean

Property Value

Type: System.Boolean

true if all properties of the model should be validated; otherwise, false if validation should be skipped.

See Also

ModelValidationNode Class
Microsoft.Web.Mvc.ModelBinding Namespace

Return to top