I created CompositeAnnotation consisting of several elements (VerticalLineAnnotation).
I set visibility CompositeAnnotation to hidden but does not work.
How can I do it?
- Alitec Developer asked 8 years ago
- You must login to post comments
I found myself solution. I use binding in code behind:
Binding binding = new Binding("IsHidden");
binding.Source = harmonicAnnotation;
annotation.SetBinding(VerticalLineAnnotation.IsHiddenProperty, binding);
- Alitec Developer answered 8 years ago
- You must login to post comments
My case is a bit more complicated.
I’m working on the harmonic annotation. I created custom class base on CompositeAnnotation and I create dynamically vertical line annotations. I would like to show/hide my annotation.
I created sample project:
https://db.tt/XLanfanB
- Alitec Developer answered 8 years ago
- You must login to post comments
Hello!
Annotation Visibility is a frequently asked question. Please see here for more info
Thanks!
-Andrew
- Andrew Burnett-Thompson answered 8 years ago
- You must login to post comments
Please login first to submit.