Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Switch to WPF-styled property validation/coercion #3287
What does the pull request do?
This PR adds that back in, but changes the API/semantics to match WPF's:
Previously Validation/Coercion imposed an overhead for all properties whether they defined validation/coercion callbacks or not. I tried to avoid that in this implementation:
Because I wanted to introduce as little as possible overhead for non-coerced properties, if a property has a coercion callback defined then it is promoted straight to a
This only affects property validation. Data validation remains unchanged.
This PR targets #3255