Gets the alternating rows information for the column header.
Syntax
| Visual Basic (Declaration) | |
|---|
Public ReadOnly Property AlternatingRows As AlternatingRows |
Return Value
AlternatingRows object containing the collection of alternating rows.
Example
This example changes the background color of the first set of alternating rows.
| C# | Copy Code |
|---|
fpSpread1.ActiveSheet.ColumnHeader.RowCount = 4;
fpSpread1.ActiveSheet.ColumnHeader.AlternatingRows[0].BackColor = Color.LightBlue; |
| Visual Basic | Copy Code |
|---|
FpSpread1.ActiveSheet.ColumnHeader.RowCount = 4
FpSpread1.ActiveSheet.ColumnHeader.AlternatingRows(0).BackColor = Color.LightBlue |
Remarks
See Also