Spread WPF Documentation
NextActualVisibleRow Method
Example 


GrapeCity.Windows.SpreadSheet.Data Namespace > Worksheet Class : NextActualVisibleRow Method
The index of the current row.
Gets the index of the next visible row from the current row.
Syntax
'Declaration
 
Public Function NextActualVisibleRow( _
   ByVal row As System.Integer _
) As System.Integer
'Usage
 
Dim instance As Worksheet
Dim row As System.Integer
Dim value As System.Integer
 
value = instance.NextActualVisibleRow(row)
public System.int NextActualVisibleRow( 
   System.int row
)

Parameters

row
The index of the current row.

Return Value

The index of the next visible row.
Example
This example uses the NextActualVisibleRow method.
int j;
j = 0;
for (int i=0;i<gcSpreadSheet1.Sheets[0].RowCount -1;i++)
{
    j = gcSpreadSheet1.Sheets[0].NextActualVisibleRow(j);
    listBox1.Items.Add(j.ToString());
}
Dim j As Integer
j = 0
For i As Integer = 0 To GcSpreadSheet1.Sheets(0).RowCount - 1
    j = GcSpreadSheet1.Sheets(0).NextActualVisibleRow(j)
    ListBox1.Items.Add(j.ToString())
Next
See Also

Reference

Worksheet Class
Worksheet Members