Quantcast
Channel: Measurement Studio for .NET Languages topics
Viewing all articles
Browse latest Browse all 1999

An observable collection cannot be modified during a change event

$
0
0

When I am plotting some points on a graph, I use a few of the graph's events to modify the input, so after the data has been processed and the renderer has been run, I want to re-assign the the graph to the modified data. In the dataprocessed event, I am calling graph.Data[0] = someList; It then throws this error: An observable collection cannot be modified during a change event. Does anyone know how to get around this? Is there another event that I can be firing that is not a change event where I can change the collection and therefore refresh the graph?

 

Thanks,

Kelly


Viewing all articles
Browse latest Browse all 1999

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>