Spread Windows Forms 11.0 Product Documentation
AlternatingRows Property (SheetView)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView Class : AlternatingRows Property
Gets an AlternatingRows object for the alternating rows in the data area of the sheet.
Syntax
'Declaration
 
Public ReadOnly Property AlternatingRows As AlternatingRows
'Usage
 
Dim instance As SheetView
Dim value As AlternatingRows
 
value = instance.AlternatingRows
public AlternatingRows AlternatingRows {get;}

Property Value

AlternatingRows object containing the rows of alternating styles
Example
This example sets a border around the first set of alternating rows.
fpSpread1.ActiveSheet.AlternatingRows[0].Border = new FarPoint.Win.BevelBorder(FarPoint.Win.BevelBorderType.Lowered, Color.LightBlue,
Color.Blue, 1);
FpSpread1.ActiveSheet.AlternatingRows(0).Border = New FarPoint.Win.BevelBorder(FarPoint.Win.BevelBorderType.Lowered, Color.LightBlue,
Color.Blue, 1)
See Also

Reference

SheetView Class
SheetView Members
AlternatingRows Class

User-Task Documentation

Creating Alternating Rows