Wpf contentcontrol binding not updating
Hi, I have been adding annotations to a chart as per your example with a few modifications.
My annotations collection is updated from the constructor and from an On Load handler but not after this.
Also I would advise against re-buiding annotations on each re-draw.
Content Controls such as Button and Items Controls such as List Box and List View have built-in functionality to enable flexible styling of single data items or collections of data items.Please could you have a look at the attached example.It appears that when elements are added from the constructor and On Load, On Labels Source Changed is called but the annotation Collection is not updated because the Parent Surface is null.In the Annotation Creation Modifier code you need to subscribe to the Observable Collection&;t Report Tag.Collection Changed event and rebuild your annotations there.
Sort, filter, and group views can be generated on top of the data.