From 05aa5ba05353cf9ae9fcdfa650b19eca57b86c25 Mon Sep 17 00:00:00 2001 From: marner2 Date: Thu, 12 Oct 2023 10:54:54 -0500 Subject: [PATCH] Update NotifyDataErrorValidationRule.xml The current version looks like it was based off of ExceptionValidationRule. I based this one off of DataErrorValidationRule since it does almost the same thing. --- xml/System.Windows.Controls/NotifyDataErrorValidationRule.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xml/System.Windows.Controls/NotifyDataErrorValidationRule.xml b/xml/System.Windows.Controls/NotifyDataErrorValidationRule.xml index e38ab77bb7e..f18bd981fe4 100644 --- a/xml/System.Windows.Controls/NotifyDataErrorValidationRule.xml +++ b/xml/System.Windows.Controls/NotifyDataErrorValidationRule.xml @@ -23,9 +23,9 @@ with a or object. The class is a built-in rule that checks for exceptions that are thrown during the updates of the binding source property. You can provide custom logic to specify how the binding engine handles these exceptions by using a . For more information, see . + The WPF data binding model enables you to associate with a object. If your source object implements the interface, you can use the built-in rule to check for errors raised by the implementation. - An alternative syntax to setting the explicitly is to set the property to `true` on your , , or object. By default, the value of is `true`, so you do not need to explicitly use a . + An alternative syntax to setting the explicitly is to set the property to `true` on your , , or object. By default, the value of is `true`, so you do not need to explicitly use a . You can create a custom rule by creating a class that derives from . For more information and a detailed discussion of data validation, see [Data Binding Overview](/dotnet/framework/wpf/data/data-binding-overview).