📜  wpf canvas.children.remove 按类型 - 任何代码示例

📅  最后修改于: 2022-03-11 14:59:35.839000             🧑  作者: Mango

代码示例1
var images = canvas.Children.OfType().ToList();
foreach (var image in images)
{
    canvas.Children.Remove(image);
}