protected void MarkAsChild(FxObject obj) { obj.Parent = this; // deferred creation of Children... if (_children == null) { _children = new List <FxObject>(); } _children.Add(obj); }
protected void RemoveChild(FxObject obj) { _children.Remove(obj); }
protected void AddChild(FxObject obj) { MarkAsChild(obj); }