Supress PropertyChanges on Parent Changes #10565
IAmTheCShark
started this conversation in
Ideas
Replies: 2 comments
-
I find this issues, but I can not find any good ways to solve it. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Most notable change is that Style is set to null. Which causes a lot of changes. |
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
-
It would be very helpful if there were a way to suppress property changes when a parent changes.
For example, in virtualization, when you unload a control for later reuse, you receive a lot of property change notifications for all the properties bound to or inherited values originating from their parent.
In my specific case, I would like to temporarily stop property change notifications before removing the control from the visual and logical tree, then re-enable them when reusing the control. This way, only property changes that reflect actual differences between the old and new parent would be triggered.
Currently, you receive change notifications for transitions like old parent → null and null → new parent.
Has anyone dealt with this issue before, or is there already a built-in way to handle it?
Beta Was this translation helpful? Give feedback.
All reactions