Constructor
new TableCell()
A single cell in a WPF Table.
Methods
columnName() → {Promise.<string>}
The column header name of the cell.
Returns:
a promise that is fulfilled with the column header name of the cell.
-
Type
- Promise.<string>
height() → {Promise.<number>}
The height of the cell (in pixels).
Returns:
a promise that is fulfilled with the height of the cell (in pixels).
-
Type
- Promise.<number>
setValue(value) → {Promise.<void>}
Sets the cell to a new value.
Parameters:
Name | Type | Description |
---|
value | string
|
number | The new value to be set. |
Returns:
a promise that is fulfilled when the operation is performed.
-
Type
- Promise.<void>
value() → {Promise.<Object>}
The content of the cell.
Returns:
a promise that is fulfilled with the content of the cell.
-
Type
- Promise.<Object>
width() → {Promise.<number>}
The width of the cell (in pixels).
Returns:
a promise that is fulfilled with the width of the cell (in pixels).
-
Type
- Promise.<number>
x() → {Promise.<number>}
The x-coordinate (in pixels) of the cell relative to the table.
Returns:
a promise that is fulfilled with the x-coordinate (in pixels) of the cell relative to the table.
-
Type
- Promise.<number>
y() → {Promise.<number>}
The y-coordinate (in pixels) of the cell relative to the table.
Returns:
a promise that is fulfilled with the y-coordinate (in pixels) of the cell relative to the table.
-
Type
- Promise.<number>