Description
Use the wRowCount
property to determine the number of rows in the given control.
Declaration
TestObj.wRowCount
Read-Only Property | Integer |
TestObj | A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section |
Applies To
The property is applied to the following object:
View Mode
This property is available in the Object Browser panel and in other panels and dialogs in both Basic and Advanced view modes.
Property Value
The total number of rows.
Remarks
You can use the wRowCount
property along with wColumnCount
and wValue
to iterate through grid cells.
Example
To view an example that demonstrates how to use the wRowCount
property, see Iterating Through Cells in Android Grid View Controls.
See Also
Testing Android Applications - Overview
Iterating Through Cells in Android Grid View Controls
wValue Property (Android GridView Object)
wColumnCount Property (Android Controls)