public void Add(IHtmlOptionsGroupElement element, IHtmlElement before = null) { _parent.InsertBefore(element, before); }
public void AddOption(IHtmlOptionsGroupElement element, IHtmlElement before = null) { Options.Add(element, before); }
/// <summary> /// Adds the element to the options collection. /// </summary> /// <param name="element">The group element to add.</param> /// <param name="before">The following element.</param> public void AddOption(IHtmlOptionsGroupElement element, IHtmlElement before = null) { Options.Add(element, before); }