BindingGroup.HasValidationError 屬性

定義

取得值,指出 BindingGroup 是否擁有失敗的驗證規則。Gets a value that indicates whether the BindingGroup has a failed validation rule.

public:
 property bool HasValidationError { bool get(); };
public bool HasValidationError { get; }
member this.HasValidationError : bool
Public ReadOnly Property HasValidationError As Boolean

屬性值

如果 BindingGroup 有失敗的驗證規則,則為 true,否則為 falsetrue if the BindingGroup has a failed validation rule; otherwise, false.

適用於