Interface ISupportsGridPattern exposes method GetItem and two properties:
$grid = Get-UiaDataGrid;

# getting an item by row and co.un numbers
$firstElement = $grid.GetItem(0, 0);
$element = $grid.GetItem(3, 3);

# getting counters
$grid.GridRowCount
$grid.GridColumnCount

Last edited Dec 27, 2013 at 4:03 PM by apetrovskiy, version 2

Comments

No comments yet.