-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Fix Incorrect usages of UnsetValue #3960
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix Incorrect usages of UnsetValue #3960
Conversation
|
Thanks RosarioPulella for opening a Pull Request! The reviewers will test the PR and highlight if there is any conflict or changes required. If the PR is approved we will proceed to merge the pull request 🙌 |
|
I am letting #3943 fix the instance in ColorPicker. |
|
There are some locations where our usage of |
|
Some instances in DataGrid where we ref |
|
@RosarioPulella the Basically That's why we should adhere to the contract in the other places with Since it looks like it's just the one update here for |
Yep, I'll comb threw! |
Fixes #3311 Remove incorrect usages of
DependencyProperty.UnsetValueand use it in values converters where appropriate.In some places we are using
DependencyProperty.UnsetValuewhere we are not supposed to.DependencyProperty.UnsetValueis only supposed to be used as a returned value fromIValueConvertersthat fail to convert there value. This pr removes it from where its not supposed to be used and uses it in value converters instead of throwing exceptions.PR Type
What kind of change does this PR introduce?
What is the current behavior?
What is the new behavior?
PR Checklist
Please check if your PR fulfills the following requirements:
Other information