HtmlTableRowElement Class
https://html.spec.whatwg.org/multipage/tables.html#htmltablerowelement
public sealed class HtmlTableRowElement : HtmlElement- Inheritance
HtmlElementHtmlTableRowElement
Properties
| Name | Description |
|---|---|
| Align | Gets or sets the value of the align content attribute. |
| BgColor | Gets or sets the value of the bgcolor content attribute. |
| Cells | Gets the live collection of the td and th children of the row. |
| Ch | Gets or sets the value of the char content attribute. |
| ChOff | Gets or sets the value of the charoff content attribute. |
| RowIndex | https://html.spec.whatwg.org/multipage/tables.html#dom-tr-rowindex |
| SectionRowIndex | https://html.spec.whatwg.org/multipage/tables.html#dom-tr-sectionrowindex |
| VAlign | Gets or sets the value of the valign content attribute. |
Align
HtmlElements.g.csGets or sets the value of the align content attribute.
public string Align { get; set; }BgColor
HtmlElements.g.csGets or sets the value of the bgcolor content attribute.
public string BgColor { get; set; }Cells
Tables.csGets the live collection of the td and th children of the row.
public HtmlCollection Cells { get; }Gets or sets the value of the char content attribute.
public string Ch { get; set; }ChOff
HtmlElements.g.csGets or sets the value of the charoff content attribute.
public string ChOff { get; set; }RowIndex
Tables.cshttps://html.spec.whatwg.org/multipage/tables.html#dom-tr-rowindex
public int RowIndex { get; }SectionRowIndex
Tables.cshttps://html.spec.whatwg.org/multipage/tables.html#dom-tr-sectionrowindex
public int SectionRowIndex { get; }VAlign
HtmlElements.g.csGets or sets the value of the valign content attribute.
public string VAlign { get; set; }Methods
| Name | Description |
|---|---|
| DeleteCell(int) | https://html.spec.whatwg.org/multipage/tables.html#dom-tr-deletecell |
| InsertCell(int) | https://html.spec.whatwg.org/multipage/tables.html#dom-tr-insertcell |
DeleteCell(int)
Tables.cshttps://html.spec.whatwg.org/multipage/tables.html#dom-tr-deletecell
InsertCell(int)
Tables.cshttps://html.spec.whatwg.org/multipage/tables.html#dom-tr-insertcell
public HtmlTableCellElement InsertCell(int index = -1)