Validation.HasError 附加屬性

定義

取得值,這個值表示繫結目標元素上的任何繫結是否有 ValidationError

see GetHasError
see GetHasError
see GetHasError

備註

如需這個屬性在案例中 MultiBinding 行為的相關資訊,請參閱 HasError

如需驗證的詳細討論,請參閱 資料系結概觀的資料驗證一節。

相依性屬性資訊

識別碼欄位 HasErrorProperty
設定為 的中繼資料屬性 true IsNotDataBindable

適用於

另請參閱