INotifyDataErrorInfo.HasErrors Property

.NET Framework (current version)

Gets a value that indicates whether the entity has validation errors.

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

abstract HasErrors : bool with get

Property Value

Type: System.Boolean

true if the entity currently has validation errors; otherwise, false.

This property returns false if there are no known entity-level or property-level validation errors for the entity at the time it is accessed. However, some validation rules may still be running asynchronously as described for the GetErrors method.

Universal Windows Platform
Available since 8
.NET Framework
Available since 4.5
Portable Class Library
Supported in: portable .NET platforms
Available since 4.0
Windows Phone Silverlight
Available since 7.1
Windows Phone
Available since 8.1
Return to top