protected int RemoveAll(Predicate <Drawable> match, bool dispose = true) { List <Drawable> toRemove = internalChildren.FindAll(match); for (int i = 0; i < toRemove.Count; i++) { Remove(toRemove[i]); } return(toRemove.Count); }
public int RemoveAll(Predicate <Drawable> match, bool dispose = true) { List <Drawable> toRemove = children.FindAll(match); for (int i = 0; i < toRemove.Count; i++) { Remove(toRemove[i], dispose); } return(toRemove.Count); }