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


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())
Requirements

Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

AlternatingRow Class
AlternatingRow Members
Item Property
Alternating Property

 

 


Copyright © GrapeCity, inc. All rights reserved.