public IEnumerable<UIElement> GetChildIter() { if (uiList != null) { int j = uiList.Count; for (int i = 0; i < j; ++i) { yield return uiList.GetElement(i); } } } public void AddChild(UIElement ui)