Class
DesktopGridPattern

Represents desktop grid pattern.

Definition

Namespace:ArtOfTest.WebAii.DesktopAutomation.Patterns

Assembly:ArtOfTest.WebAii.dll

Syntax:

cs-api-definition
public class DesktopGridPattern : DesktopPattern

Inheritance: objectDesktopPatternDesktopGridPattern

Inherited Members DesktopPattern.elementDesktopPattern.EnumNativeArray(IUIAutomationElementArray)DesktopPattern.GetNativePattern<T>(int)

Constructors

DesktopGridPattern(DesktopElement)

Create new instance of DesktopExpandCollapsePattern class.

Declaration

cs-api-definition
public DesktopGridPattern(DesktopElement element)

Parameters

element

DesktopElement

Underlying element.

Properties

ColumnCount

Number of columns in the grid.

Declaration

cs-api-definition
public int ColumnCount { get; }

Property Value

int

RowCount

Number of rows in the grid.

Declaration

cs-api-definition
public int RowCount { get; }

Property Value

int

Methods

GetCellElement(int, int)

Get cell element.

Declaration

cs-api-definition
public DesktopElement GetCellElement(int row, int column)

Parameters

row

int

The row index.

column

int

The column index.

Returns

DesktopElement

Instance of DesktopElement.