編輯

共用方式為


Validation.HasError Attached Property

Definition

Gets a value that indicates whether any binding on the binding target element has a ValidationError.

see GetHasError
see GetHasError
see GetHasError

Remarks

For information about the behavior of this property in MultiBinding scenarios, see HasError.

For a detailed discussion of validation, see the Data Validation section of the Data Binding Overview.

Dependency Property Information

Identifier field HasErrorProperty
Metadata properties set to true IsNotDataBindable

Applies to

See also