public void AddChildAt(CSSNode child, int i) { if (child.parent != null) { throw new InvalidOperationException ("Child already has a parent, it must be removed first."); } children.Insert(i, child); child.parent = this; Dirty(); }
public int IndexOf(CSSNode child) { return children.IndexOf (child); }
public int IndexOf(CSSNode child) { return(children.IndexOf(child)); }