ValidatesOnNotifyDataErrors Property

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 Property ValidatesOnNotifyDataErrors As Boolean

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