GridItemPattern
UIA Pro is supported as a technical preview.
UIAPro.
GridItemPattern
new GridItemPattern()
The UIA Pro GridItem pattern.
Methods
getColumnIndex() → {Promise.<number>}
Returns the 0-based ordinal number of the column that contains a cell or item.
Returns:
a promise that is fulfilled with the ordinal number of the column that contains a cell or item.
-
Type
- Promise.<number>
getContainingGrid() → {Promise.<Object>}
Returns an AutomationElement that supports
UIAPro.GridPattern and represents the container of a cell or item.
Returns:
a promise that is fulfilled with a UIA Pro element.
-
Type
- Promise.<Object>
getRowIndex() → {Promise.<number>}
Returns the 0-based ordinal number of the row that contains a cell or item.
Returns:
a promise that is fulfilled with the ordinal number of the row that contains a cell or item.
-
Type
- Promise.<number>
getSpannedColumns() → {Promise.<number>}
Returns the number of columns spanned by a cell or item.
Returns:
a promise that is fulfilled with the number of columns spanned by a cell or item.
-
Type
- Promise.<number>
getSpannedRows() → {Promise.<number>}
Returns the number of rows spanned by a cell or item.
Returns:
a promise that is fulfilled with the number of rows spanned by a cell or item.
-
Type
- Promise.<number>