共用方式為


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

適用於