public void SetChildSize(IContainer child, string size) { var index = _children.IndexOf(child); _sizes.RemoveAt(index); _sizes.Insert(index, size); }