編輯

共用方式為


BindingExpressionBase.ValidationErrors Property

Definition

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

public:
 virtual property System::Collections::ObjectModel::ReadOnlyCollection<System::Windows::Controls::ValidationError ^> ^ ValidationErrors { System::Collections::ObjectModel::ReadOnlyCollection<System::Windows::Controls::ValidationError ^> ^ get(); };
public virtual System.Collections.ObjectModel.ReadOnlyCollection<System.Windows.Controls.ValidationError> ValidationErrors { get; }
member this.ValidationErrors : System.Collections.ObjectModel.ReadOnlyCollection<System.Windows.Controls.ValidationError>
Public Overridable ReadOnly Property ValidationErrors As ReadOnlyCollection(Of ValidationError)

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