BindingGroup.ValidatesOnNotifyDataError Property

.NET Framework (current version)
 

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

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

public bool ValidatesOnNotifyDataError { get; set; }

Property Value

Type: System.Boolean

true to include the NotifyDataErrorValidationRule; otherwise, false. The default is true.

When ValidatesOnNotifyDataError 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
Return to top
Show: