Table of Contents

Interface IGridItemPattern

Namespace
HP.LFT.SDK.UIAPro
Assembly
HP.LFT.SDK.dll

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

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.

[Obsolete("Use ContainingGridAsUIObject instead.")]
object ContainingGrid { get; }

Property Value

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.

IUiObject ContainingGridAsUIObject { get; }

Property Value

IUiObject

RowIndex

The zero-based index of the row that contains the grid item.

int RowIndex { get; }

Property Value

int

SpannedColumns

The number of columns spanned by a cell or item.

int SpannedColumns { get; }

Property Value

int

SpannedRows

The number of rows spanned by a cell or item.

int SpannedRows { get; }

Property Value

int