.NET Framework Class Library for Silverlight
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)
Syntax

Visual Basic (Declaration)
Public Property NotifyOnValidationError As Boolean
    Get
    Set
Visual Basic (Usage)
Dim instance As Binding
Dim value As Boolean

value = instance.NotifyOnValidationError

instance.NotifyOnValidationError = value
C#
public bool NotifyOnValidationError { get; set; }
XAML Attribute Usage
<Binding NotifyOnValidationError="bool"/>

Property Value

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

ExceptionCondition
InvalidOperationException

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

Remarks

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

Platforms

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

See Also

Reference

Other Resources

Tags :


Page view tracker