Interface IGridItemPattern
The methods and properties used to interact with items in a grid.
public interface IGridItemPattern
Properties
ColumnIndex
The zero-based index of the column that contains the grid item.
int ColumnIndex { get; }
Property Value
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.
[Obsolete("Use ContainingGridAsUIObject instead.")]
object ContainingGrid { get; }
Property Value
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.
IUiObject ContainingGridAsUIObject { get; }
Property Value
RowIndex
The zero-based index of the row that contains the grid item.
int RowIndex { get; }
Property Value
SpannedColumns
The number of columns spanned by a cell or item.
int SpannedColumns { get; }
Property Value
SpannedRows
The number of rows spanned by a cell or item.
int SpannedRows { get; }