//note, this is fluent for chaining calls, return this public DocumentTemplateElement AddElement(DocumentTemplateElement aElement) { aElement.ParentElement = this; AddElementToChildCollection(aElement); return(this); }
protected override void AddElementToChildCollection(DocumentTemplateElement aElement) { aElement.Template = this; base.AddElementToChildCollection(aElement); }
protected virtual void AddElementToChildCollection(DocumentTemplateElement aElement) { this.ChildElements.Add(aElement); }