編輯

共用方式為


BindingExpressionBase.HasValidationError Property

Definition

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

Property Value

true if the parent binding has a failed validation rule; otherwise, false.

Remarks

This property is identical to the HasValidationError property.

Applies to