/// <summary> /// Creates a new Html document. /// </summary> internal HTMLDocument() { _contentType = MimeTypes.Xml; _ns = Namespaces.Html; _all = new HTMLLiveCollection<Element>(this); _queue = new Task(() => { }); }
/// <summary> /// Creates a new HTML select element. /// </summary> internal HTMLSelectElement() { _name = Tags.SELECT; _options = new HTMLLiveCollection<HTMLOptionElement>(this); WillValidate = true; }
internal HTMLFormControlsCollection(Element parent) { _elements = new HTMLLiveCollection<HTMLFormControlElement>(parent); }
internal HTMLFormControlsCollection(HTMLLiveCollection<HTMLFormControlElement> elements) { _elements = elements; }
/// <summary> /// Creates a new HTML form element. /// </summary> internal HTMLFormElement() { _name = Tags.FORM; _elements = new HTMLLiveCollection<HTMLFormControlElement>(this); _formControls = new HTMLFormControlsCollection(_elements); }
internal HTMLTableRowElement() { _name = Tags.TR; _cells = new HTMLLiveCollection<HTMLTableCellElement>(this); }
/// <summary> /// Creates a new datalist element. /// </summary> internal HTMLDataListElement() { _name = Tags.DATALIST; _options = new HTMLLiveCollection<HTMLOptionElement>(this); }
internal HTMLTableElement() { _name = Tags.TABLE; _rows = new HTMLLiveCollection<HTMLTableRowElement>(this); _bodies = new HTMLLiveCollection<HTMLTableCaptionElement>(this); }
internal HTMLTableSectionElement() { _name = Tags.TBODY; _rows = new HTMLLiveCollection<HTMLTableRowElement>(this); }