Hi
I have an mvvm application using annotations. I just added some features to it, and discovered a wierd thing…
On my annotations, the IsEditable property is bound to a property in the view model. I think this used to work fine, but now those bindings don’t seem to work properly the first time they are rendered. The annotations are always editable. When I switch to another tab, they work fine in the next one. I switch back to the first and now it works fine there… I even put in a breakpoint in the property and it never got hit the first time the view got rendered.
Could this be a bug introduced with the last update? Since that adressed some issues with tab controls and mvvm in wpf, something might have happend. Or it could just be the fact that all my annotations in my first view used to be editable, so this just simply hadn’t occured before. I’m not quite sure…
Could you guys take a look?
Thanks 🙂
- Lisbeth Skogland asked 10 years ago
- You must login to post comments
Hi Lisbeth,
Thanks for reporting! Interesting behavior – the IsEditable property is set to “False” by default. What is the initial value of the property in your VM? Maybe it is set somewhere in code…
Could I ask you to reproduce this issue in small project and post it here? It would be very much appreciated.
Thanks,
Yuriy
- Yuriy Zadereckiy answered 10 years ago
- You must login to post comments
Please login first to submit.