Spread Windows Forms 12.0 Product Documentation
AlternatingRows Property (ColumnHeader)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > ColumnHeader Class : AlternatingRows Property
Gets the alternating rows information for the column header.
Syntax
'Declaration
 
Public ReadOnly Property AlternatingRows As AlternatingRows
'Usage
 
Dim instance As ColumnHeader
Dim value As AlternatingRows
 
value = instance.AlternatingRows
public AlternatingRows AlternatingRows {get;}

Property Value

AlternatingRows object containing the collection of alternating rows.
Remarks

This property is available at run time only.

Example
This example changes the background color of the first set of alternating rows.
fpSpread1.ActiveSheet.ColumnHeader.RowCount = 4;

fpSpread1.ActiveSheet.ColumnHeader.AlternatingRows[0].BackColor = Color.LightBlue;
fpSpread1.ActiveSheet.ColumnHeader.RowCount = 4

fpSpread1.ActiveSheet.ColumnHeader.AlternatingRows(0).BackColor = Color.LightBlue
See Also

Reference

ColumnHeader Class
ColumnHeader Members

User-Task Documentation

Creating Alternating Rows