Binding.ValidatesOnNotifyDataErrors Property

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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

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

member ValidatesOnNotifyDataErrors : bool with 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
Available since 4.0
Windows Phone Silverlight
Available since 7.1
Return to top