Binding.NotifyOnValidationError Property
Silverlight
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)
<Binding NotifyOnValidationError="bool"/>
Property Value
Type: System.Booleantrue if the BindingValidationError event is raised; otherwise, false. The default is false.
| Exception | Condition |
|---|---|
| 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.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.