Class WebTable<TRow>
Typed table foundation built on the same lazy component collection as lists and grids.
public abstract class WebTable<TRow> : WebComponent where TRow : WebComponent, new()
Type Parameters
TRow
- Inheritance
-
WebTable<TRow>
- Inherited Members
- Extension Methods
Properties
RowLocator
Override for legacy tables or grids whose rows need CSS or another semantic locator.
protected virtual WebLocator RowLocator { get; }
Property Value
Rows
public WebComponentCollection<TRow> Rows { get; }
Property Value
- WebComponentCollection<TRow>
Methods
RowAt(int, string?)
Returns a lazy row at a zero-based index.
public TRow RowAt(int index, string? name = null)
Parameters
Returns
- TRow
RowMatching(WebLocator, string?)
Returns a strict lazy row selected by a semantic filter such as By.HasText().
public TRow RowMatching(WebLocator condition, string? name = null)
Parameters
conditionWebLocatornamestring
Returns
- TRow
RowNumber(int, string?)
Returns a lazy row by one-based number.
public TRow RowNumber(int number, string? name = null)
Parameters
Returns
- TRow