HtmlTableRowElement Class

https://html.spec.whatwg.org/multipage/tables.html#htmltablerowelement

public sealed class HtmlTableRowElement : HtmlElement
Inheritance
HtmlElement HtmlTableRowElement

Properties

NameDescription
AlignGets or sets the value of the align content attribute.
BgColorGets or sets the value of the bgcolor content attribute.
CellsGets the live collection of the td and th children of the row.
ChGets or sets the value of the char content attribute.
ChOffGets or sets the value of the charoff content attribute.
RowIndexhttps://html.spec.whatwg.org/multipage/tables.html#dom-tr-rowindex
SectionRowIndexhttps://html.spec.whatwg.org/multipage/tables.html#dom-tr-sectionrowindex
VAlignGets or sets the value of the valign content attribute.

Gets or sets the value of the align content attribute.

public string Align { get; set; }

Gets or sets the value of the bgcolor content attribute.

public string BgColor { get; set; }

Gets 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; }

Gets or sets the value of the charoff content attribute.

public string ChOff { get; set; }

RowIndex

Tables.cs

https://html.spec.whatwg.org/multipage/tables.html#dom-tr-rowindex

public int RowIndex { get; }

SectionRowIndex

Tables.cs

https://html.spec.whatwg.org/multipage/tables.html#dom-tr-sectionrowindex

public int SectionRowIndex { get; }

Gets or sets the value of the valign content attribute.

public string VAlign { get; set; }

Methods

NameDescription
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.cs

https://html.spec.whatwg.org/multipage/tables.html#dom-tr-deletecell

public void DeleteCell(int index)

InsertCell(int)

Tables.cs

https://html.spec.whatwg.org/multipage/tables.html#dom-tr-insertcell

public HtmlTableCellElement InsertCell(int index = -1)