Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 WPF 阅读基于绑定框架的验证的部分好处是验证事件可能会在树上冒泡。
什么是有用的例子?只是试图理解。
您可能对WPF 应用程序框架 (WAF)的BookLibrary示例应用程序感兴趣。它展示了如何使用 WPF 中的冒泡验证事件在任何子控件变得无效时得到通知。这用于禁用保存按钮。