BindingExpressionBase.HasValidationError 屬性

定義

取得值,這個值表示父繫結是否有驗證失敗規則。Gets a value that indicates whether the parent binding has a failed validation rule.

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

屬性值

如果父繫結有驗證失敗規則,則為 true,否則為 falsetrue if the parent binding has a failed validation rule; otherwise, false.

備註

這個屬性與HasValidationError屬性相同。This property is identical to the HasValidationError property.

適用於