Pre loader

Annotations with IsEditable bound acting wierd

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums

0
0

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 🙂

  • You must to post comments
0
0

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

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies