BindingExpressionBase.ValidationErrors Property

Definition

Gets a collection of ValidationError objects that caused this instance of BindingExpressionBase to be invalid.

C#
public virtual System.Collections.ObjectModel.ReadOnlyCollection<System.Windows.Controls.ValidationError> ValidationErrors { get; }

Property Value

A collection of ValidationError objects that caused this instance of BindingExpressionBase to be invalid. The value is null if there are no errors.

Applies to

Product Versions
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10