Intercept all PropertyChanged without register callback #7882
Answered
by
workgroupengineering
workgroupengineering
asked this question in
Q&A
-
From the tests I made, the Skia backend does not support Geometry transformations. In a private PR I am trying to do the refactoring. In the Geometry class I need to intercept all the changes of the DependencyProperty to invalidate the Bounds. How can I do? In the derived classes of Geometry , I can do the ovveraide of the OnPropertyChanged2 method, but in Geometry it is not possible because OnPropertyChanged2 is generated by the DependencyObjectGenerator. |
Beta Was this translation helpful? Give feedback.
Answered by
workgroupengineering
Jan 21, 2022
Replies: 1 comment 1 reply
-
I found it by myself. I must use RegisterDisposablePropertyChangedCallback. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
workgroupengineering
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I found it by myself. I must use RegisterDisposablePropertyChangedCallback.