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


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
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

ColumnHeader Class
ColumnHeader Members

User-Task Documentation

Creating Alternating Rows

 

 


Copyright © GrapeCity, inc. All rights reserved.