ClassHtmlTable
Test class for an HtmlTable element <table>...</table>
Definition
Namespace:ArtOfTest.WebAii.Controls.HtmlControls
Assembly:ArtOfTest.WebAii.dll
Syntax:
public class HtmlTable : HtmlContainerControl
Inheritance: objectControlHtmlControlHtmlContainerControlHtmlTable
Derived Classes:
Inherited Members
Constructors
HtmlTable(Element)
Create a new control.
Declaration
public HtmlTable(Element element)
Parameters
element
The base element.
Properties
AllRows
Gets all rows as one collection. (Head rows, then body rows and then footer rows)
Declaration
public ReadOnlyCollection<HtmlTableRow> AllRows { get; }
Property Value
BodyRows
Gets the rows contained in the body of the table if the table is using the tbody tag.
Declaration
public ReadOnlyCollection<HtmlTableRow> BodyRows { get; }
Property Value
Border
Gets the width of the table border.
Caption
Gets the caption of a table.
CellPadding
Gets the amount of space between the cell border and cell content
CellSpacing
Gets the amount of space between the cells in a table.
ColumnCount
Gets the number of columns in this table
FootRows
Gets the rows contained in the table footer if the table is using the tfoot tag.
Declaration
public ReadOnlyCollection<HtmlTableRow> FootRows { get; }
Property Value
HeadRows
Gets the rows contained in the table header if the table is using the thead tag.
Declaration
public ReadOnlyCollection<HtmlTableRow> HeadRows { get; }
Property Value
Rows
Return List of HtmlTableRows. Only the body rows if TBody is used.
Declaration
public ReadOnlyCollection<HtmlTableRow> Rows { get; }
Property Value
Width
Gets the width of a table.
this[int]
Gets requested row by index.
Declaration
public HtmlTableRow this[int index] { get; }
Parameters
index
row index
Property Value
The requested row.
Methods
AssignElement(Element)
Assign element and initialize this control.
Declaration
public override void AssignElement(Element e)
Parameters
e
The base element.
Overrides