What is an example of using a WPF validation framework to align tree validation?

I am reading part of WPF in favor of binding-based validation, so that validation events can bubble the tree, so to speak.

What would be an example of where this would be useful? Just trying to figure it out.

+3
source share
1 answer

You might be interested in the WPF Application Framework (WAF) BookLibrary application . It shows how to use the bubble check event in WPF to notify when any of the child controls becomes invalid. This is used to disable the save button.

+1

Source: https://habr.com/ru/post/1756500/


All Articles