Binding::ValidatesOnNotifyDataErrors Property

.NET Framework 4.6 and 4.5

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

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

property bool ValidatesOnNotifyDataErrors {
	bool get();
	void set(bool value);

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
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft