Export (0) Print
Expand All

INotifyDataErrorInfo.HasErrors Property

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

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

bool HasErrors { 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.

For an example of an implementation of this property, see the INotifyDataErrorInfo class overview.

Silverlight

Supported in: 5, 4

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2014 Microsoft