Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Binding.ValidatesOnNotifyDataErrors Property

.NET Framework (current version)
 

Gets or sets a value that indicates whether to include the NotifyDataErrorValidationRule.

Namespace:   System.Windows.Data
Assembly:  PresentationFramework (in PresentationFramework.dll)

public bool ValidatesOnNotifyDataErrors { get; set; }

Property Value

Type: System.Boolean

true to include the NotifyDataErrorValidationRule; otherwise, false. The default is true.

When ValidatesOnNotifyDataErrors is true, the binding checks for and reports errors that are raised by a data source that implements INotifyDataErrorInfo.

.NET Framework
Available since 4.5
Silverlight
Available since 4.0
Windows Phone Silverlight
Available since 7.1
Return to top
Show:
© 2016 Microsoft