Spread for ASP.NET 11 Product Documentation
Count Property (AlternatingRows)
Example 


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > AlternatingRows Class : Count Property
Gets or sets the number of alternating row styles in this collection.
Syntax
'Declaration
 
Public Property Count As Integer
'Usage
 
Dim instance As AlternatingRows
Dim value As Integer
 
instance.Count = value
 
value = instance.Count
public int Count {get; set;}

Property Value

Integer number of alternating rows in the collection
Example
This example returns the number of alternating rows.
int i;
i = FpSpread1.ActiveSheetView.AlternatingRows.Count;
Response.Write(i.ToString());
Dim i As Integer
i = FpSpread1.ActiveSheetView.AlternatingRows.Count
Response.Write(i.ToString())
See Also

Reference

AlternatingRows Class
AlternatingRows Members