FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > SheetView Class : AlternatingRows Property |
'Declaration Public ReadOnly Property AlternatingRows As AlternatingRows
'Usage Dim instance As SheetView Dim value As AlternatingRows value = instance.AlternatingRows
public AlternatingRows AlternatingRows {get;}
This property is available at run time only.
Use this property to return the alternating rows settings object for the spreadsheet data area or the spreadsheet headers. The settings are returned in an AlternatingRows object.
FarPoint.Web.Spread.SheetView sv = FpSpread1.ActiveSheetView; sv.AlternatingRows.Count = 3; sv.AlternatingRows[0].BackColor = Color.Yellow; sv.AlternatingRows[1].BackColor = Color.GreenYellow; sv.AlternatingRows[2].BackColor = Color.Tomato;
Dim sv As FarPoint.Web.Spread.SheetView sv = FpSpread1.ActiveSheetView sv.AlternatingRows.Count = 3 sv.AlternatingRows(0).BackColor = Color.Yellow sv.AlternatingRows(1).BackColor = Color.GreenYellow sv.AlternatingRows(2).BackColor = Color.Tomato
Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6
SheetView Class
SheetView Members
AlternatingRow Class
AlternatingRows Class