Spread Windows Forms 6.0 Product Documentation
AlternatingRows Property
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView Class : AlternatingRows Property


Glossary Item Box

Gets an AlternatingRows object for the alternating rows in the data area of the sheet.

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property AlternatingRows As AlternatingRows
Visual Basic (Usage)Copy Code
Dim instance As SheetView
Dim value As AlternatingRows
 
value = instance.AlternatingRows
C# 
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.
C#Copy Code
fpSpread1.ActiveSheet.AlternatingRows[0].Border = new FarPoint.Win.BevelBorder(FarPoint.Win.BevelBorderType.Lowered, Color.LightBlue,
Color.Blue, 1);
Visual BasicCopy Code
FpSpread1.ActiveSheet.AlternatingRows(0).Border = New FarPoint.Win.BevelBorder(FarPoint.Win.BevelBorderType.Lowered, Color.LightBlue,
Color.Blue, 1)

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2002-2012 ComponentOne, a division of GrapeCity. All Rights Reserved.