this is my first time here so i'll try to explain as best as i can.
I have a dictionary of PointCollections/String and i need to loop as many times as there is item in it. It's pretty basic so i managed to do it and create a checkbox for each item but i'd like to set an action to the checkbox when it's checked and unchecked, here's my code with the problem in //
Thanks
foreach (var key in instantCurves._curveList)
{
CheckBox series = new CheckBox();
series.Content = key.Value;
//series.Checked = affMatchingCurve(key.Value);
setCurve(key.Key, key.Value);
SeriesHolder.Children.Add(series);
}