AdornedElement.(0)[0].ErrorContent 验证通知结果报了绑定失败: ArgumentOutOfRangeException #1473
puddingfish
started this conversation in
General
Replies: 1 comment
-
Text="{Binding Path=AdornedElement.(Validation.Errors)/ErrorContent, ElementName=adornedElementPlaceholder}" 使用以上绑定覆盖InputElementErrorTemplate就可以了,就是StackOverflow里面的方法。。 我看目前代码里面还没有改过来,难道这不是个bug?是我哪里用得不对吗? @NaBian |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
https://stackoverflow.com/questions/2260616/why-does-wpf-style-to-show-validation-errors-in-tooltip-work-for-a-textbox-but-f
就像这个链接描述的问题,当验证通过的时候就会出现,不知道大家有没有遇到过
Beta Was this translation helpful? Give feedback.
All reactions