Interface ITable
A .NET WPF grid object.
Inherited Members
Namespace: HP.LFT.SDK.WPF
Assembly: HP.LFT.SDK.dll
Syntax
public interface ITable : IUiObjectBase, IUiObjectBase, IClickable, IDoubleClickable, ILocationInfoProvider, ISupportSendKeys, ISupportDragAndDrop, IEnabledProvider, IVisibleProvider, ISupportsNativeObject, ITestObject, ITestObjectDescriber
Properties
Name
The name of this object.
Declaration
string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
Rows
Returns the table rows.
Declaration
ReadOnlyCollection<ITableRow> Rows { get; }
Property Value
| Type | Description |
|---|---|
| ReadOnlyCollection<ITableRow> |
Methods
ActivateCell(int, int)
Double-clicks the specified cell in this grid.
Declaration
void ActivateCell(int row, int column)
Parameters
| Type | Name | Description |
|---|---|---|
| int | row | The 0-based index of the row of the cell to activate. |
| int | column | The 0-based index of the column of the cell to activate. |
ActivateCell(int, string)
Double-clicks the specified cell in this grid.
Declaration
void ActivateCell(int row, string columnHeader)
Parameters
| Type | Name | Description |
|---|---|---|
| int | row | The 0-based index of the row of the cell to activate. |
| string | columnHeader | The column header name of the cell to activate. |
ExtendSelect(int)
Adds an entire row to the collection of selected items in this multi-selection grid.
Declaration
void ExtendSelect(int row)
Parameters
| Type | Name | Description |
|---|---|---|
| int | row | 0-based row number. |
ExtendSelect(int, int)
Adds a cell to the collection of selected items in this multi-selection grid.
Declaration
void ExtendSelect(int row, int column)
Parameters
| Type | Name | Description |
|---|---|---|
| int | row | 0-based row number. |
| int | column | 0-based column index. |
ExtendSelect(int, string)
Adds a cell to the collection of selected items in this multi-selection grid.
Declaration
void ExtendSelect(int row, string columnHeader)
Parameters
| Type | Name | Description |
|---|---|---|
| int | row | 0-based row number. |
| string | columnHeader | The column header name. |
GetCell(int, string)
Returns a cell specified by row index and column header.
Declaration
ITableCell GetCell(int row, string columnHeader)
Parameters
| Type | Name | Description |
|---|---|---|
| int | row | 0-based row number. |
| string | columnHeader | The column header. |
Returns
| Type | Description |
|---|---|
| ITableCell |
SelectCell(int, int)
Clicks the specified cell in this grid.
Declaration
void SelectCell(int row, int column)
Parameters
| Type | Name | Description |
|---|---|---|
| int | row | 0-based row number. |
| int | column | 0-based column index. |
SelectCell(int, string)
Clicks the specified cell in this grid.
Declaration
void SelectCell(int row, string columnHeader)
Parameters
| Type | Name | Description |
|---|---|---|
| int | row | 0-based row number. |
| string | columnHeader | The column header name. |
SelectColumn(int)
Clicks the specified column header in this grid.
Declaration
void SelectColumn(int column)
Parameters
| Type | Name | Description |
|---|---|---|
| int | column | 0-based column index. |
SelectColumn(string)
Clicks the specified column header in this grid.
Declaration
void SelectColumn(string columnHeader)
Parameters
| Type | Name | Description |
|---|---|---|
| string | columnHeader | The column header name. |
SelectRow(int)
Clicks the specified row header in this grid.
Declaration
void SelectRow(int row)
Parameters
| Type | Name | Description |
|---|---|---|
| int | row | 0-based row number. |