我需要在运行时删除Grid(grid1)的指定元素.这是我添加元素的代码.
examControls.Add(excontrol); // add the element on the ArrayList
excontrol.Margin = new Thickness(x, y + margin, 0, 0);
grid1.Children.Add(excontrol);
Run Code Online (Sandbox Code Playgroud)
如何在运行时删除指定的"excontrol"元素(在运行时添加)?
提前致谢