When attempting to dynamically add segments (myControl.Children.Add(new...), the segments to not appear. If I go the other route and create the max number of segments that I could need in xaml and then try to remove the ones I don't need (Children.RemoveAt), the segments do not get removed from the control. Is there a way to dynamically control the segments? Best option would be to databind to a list on the viewmodel.
When attempting to dynamically add segments (myControl.Children.Add(new...), the segments to not appear. If I go the other route and create the max number of segments that I could need in xaml and then try to remove the ones I don't need (Children.RemoveAt), the segments do not get removed from the control. Is there a way to dynamically control the segments? Best option would be to databind to a list on the viewmodel.