AngleSharp by Florian Rappl

<PackageReference Include="AngleSharp" Version="0.8.7.1" />

.NET API 1,175,040 bytes

 HtmlTableElement

Represents the HTML table element.
public HorizontalAlignment Align { get; set; }

Gets or sets the value of the alignment attribute.

Gets an enumeration over all rows of the table.

public string BgColor { get; set; }

Gets or sets the value of the background color attribute.

Gets the assigned body sections.

public uint Border { get; set; }

Gets or sets the value of the border attribute.

public IHtmlTableCaptionElement Caption { get; set; }

Gets or sets the assigned caption element.

public int CellPadding { get; set; }

Gets or sets the value of the cellpadding (padding within a cell) attribute.

public int CellSpacing { get; set; }

Gets or sets the value of the cellspacing (spacing between the cells) attribute.

public IHtmlTableSectionElement Foot { get; set; }

Gets or sets the assigned foot section.

public TableFrames Frame { get; set; }

Gets or sets the value of the frame attribute.

public IHtmlTableSectionElement Head { get; set; }

Gets or sets the assigned head section.

Gets the assigned table rows.

public TableRules Rules { get; set; }

Gets or sets the value of the rules attribute.

public string Summary { get; set; }

Gets or sets the value of the summary attribute.

public string Width { get; set; }

Gets or sets the value of the width attribute.

public HtmlTableElement(Document owner, string prefix = null)

Creates a new table body and appends it.

Create a new table caption object or return an existing one.

Create a table footer row or return an existing one.

Create a table header row or return an existing one.

public void DeleteCaption()

Delete the table caption, if one exists.

public void DeleteFoot()

Delete the footer from the table, if one exists.

public void DeleteHead()

Delete the header from the table, if one exists.

public IHtmlTableRowElement InsertRowAt(int index = -1)

Inserts a new empty row in the table. The new row is inserted immediately before and in the same section as the current index-th row in the table. If index is -1 or equal to the number of rows, the new row is appended. In addition, when the table is empty the row is inserted into a TBODY which is created and inserted into the table.

public void RemoveRowAt(int index)

Deletes a table row.