Interface IGridItemPattern
The methods and properties used to interact with items in a grid.
Namespace: HP.LFT.SDK.UIAPro
Assembly: HP.LFT.SDK.dll
Syntax
public interface IGridItemPattern
Properties
ColumnIndex
The zero-based index of the column that contains the grid item.
Declaration
int ColumnIndex { get; }
Property Value
| Type | Description |
|---|---|
| int |
ContainingGrid
An UI Automation object that supports IGridPattern and represents the container of the cell or item. Use this method when you are using the enhanced UIA Pro Add-in and the legacy UIAPro Add-in is enabled.
Declaration
[Obsolete]
object ContainingGrid { get; }
Property Value
| Type | Description |
|---|---|
| object |
ContainingGridAsUIObject
An UI Automation object that supports IGridPattern and represents the container of the cell or item. Use this method when you are using the enhanced UIA Pro Add-in and the legacy UIAPro Add-in is disabled.
Declaration
IUiObject ContainingGridAsUIObject { get; }
Property Value
| Type | Description |
|---|---|
| IUiObject |
RowIndex
The zero-based index of the row that contains the grid item.
Declaration
int RowIndex { get; }
Property Value
| Type | Description |
|---|---|
| int |
SpannedColumns
The number of columns spanned by a cell or item.
Declaration
int SpannedColumns { get; }
Property Value
| Type | Description |
|---|---|
| int |
SpannedRows
The number of rows spanned by a cell or item.
Declaration
int SpannedRows { get; }
Property Value
| Type | Description |
|---|---|
| int |