BindingExpressionBase.ValidationErrors 属性

定义

获取导致 ValidationError 实例无效的 BindingExpressionBase 集合。

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)

属性值

ReadOnlyCollection<ValidationError>

获取导致 ValidationError 的此实例无效的 BindingExpressionBase 对象。 如果没有错误,此值为 null

适用于