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