Export (0) Print
Expand All
1 out of 3 rated this helpful - Rate this topic

Binding.NotifyOnValidationError Property

Gets or sets a value that indicates whether the BindingValidationError event is raised on validation errors.

Namespace:  System.Windows.Data
Assembly:  System.Windows (in System.Windows.dll)
public bool NotifyOnValidationError { get; set; }
<Binding NotifyOnValidationError="bool"/>

Property Value

Type: System.Boolean
true if the BindingValidationError event is raised; otherwise, false. The default is false.
ExceptionCondition
InvalidOperationException

The Binding has already been attached to a target element, and cannot be modified.

NotifyOnValidationError controls whether or not the BindingValidationError event is raised. Silverlight supports exception validation only. For more information, see ValidatesOnExceptions.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.