public override bool CanDelete(SharpTreeNode[] nodes) { return nodes.All(n => n is SharpTreeNodeAdapter) && nodes.Cast<SharpTreeNodeAdapter>().All(n => n.Node.CanDelete); }