Spread Windows Forms 12.0 Product Documentation
Index Property (Row)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > Row Class : Index Property
Gets the index of this row, or the starting index for this range of rows.
Syntax
'Declaration
 
Public ReadOnly Property Index As Integer
'Usage
 
Dim instance As Row
Dim value As Integer
 
value = instance.Index
public int Index {get;}

Property Value

Integer index of the row, or starting row if in a range
Remarks

This property is available at run time only.

Example
This example illustrates the use of this member by returning the indexes of the rows in the range.
FarPoint.Win.Spread.Row r;
r = fpSpread1.ActiveSheet.Rows[0, 3];
listBox1.Items.AddRange(new Object[] {r.Index.ToString(), r.Index2.ToString()});
Dim r As FarPoint.Win.Spread.Row
r = FpSpread1.ActiveSheet.Rows(0, 3)
ListBox1.Items.AddRange(New Object() {r.Index.ToString(), r.Index2.ToString()})
See Also

Reference

Row Class
Row Members