Spread for ASP.NET 11 Product Documentation
Index Property (AlternatingRow)
Example 


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > AlternatingRow Class : Index Property
Gets the index of this alternating row.
Syntax
'Declaration
 
Public ReadOnly Property Index As Integer
'Usage
 
Dim instance As AlternatingRow
Dim value As Integer
 
value = instance.Index
public int Index {get;}

Property Value

Integer zero-based index of the alternating row
Example
This example returns the index of the alternating row.
int i;
i = FpSpread1.ActiveSheetView.AlternatingRows[0].Index;
Response.Write("The index of the alternating row is " + i.ToString());
Dim i As Integer
i = FpSpread1.ActiveSheetView.AlternatingRows(0).Index
Response.Write("The index of the alternating row is " & i.ToString())
See Also

Reference

AlternatingRow Class
AlternatingRow Members
Item Property
Alternating Property