private void ExampleButtonClick(object sender, RoutedEventArgs e)
{
foreach (DrawingTool drawObject in DrawObjects)
{
// if (drawObject.Tag.Contains("SuperRiskReward"))
if (drawObject.Tag.Contains("Line"))
{
RemoveDrawObject(drawObject.Tag);
}
}
}
the point is that if I put "Line" in the tag for example, it works correctly by removing all line objects
However, with the RiskReward Modified, the objects are not erased
I'm attaching the screenshot of the properties of the object I'm drawing and I want to delete. Can you help me? Thank you!
Comment