| Visual Basic (Declaration) | |
|---|---|
Public Sub Invalidate()  | |
| Visual Basic (Usage) |  Copy Code | 
|---|---|
Dim instance As AlternatingRow instance.Invalidate()  | |
| C# | |
|---|---|
public void Invalidate()  | |
To create alternating rows, first set the AlternatingRows.Count property to specify the number of alternating row patterns, then set the properties for each pattern.
            
            
            | C# |  Copy Code | 
|---|---|
fpSpread1.ActiveSheet.AlternatingRows[0].Invalidate();  | |
| Visual Basic |  Copy Code | 
|---|---|
FpSpread1.ActiveSheet.AlternatingRows(0).Invalidate()  | |
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8
Reference
AlternatingRow ClassAlternatingRow Members