Spread ASP.NET 14
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / AlternatingRow Class / Index Property
Example


In This Topic
    Index Property (AlternatingRow)
    In This Topic
    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