Spread for ASP.NET 11 Product Documentation
CellType Property (AlternatingRow)
Example 


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > AlternatingRow Class : CellType Property
Gets or sets the cell type for cells in this alternating row.
Syntax
'Declaration
 
Public Property CellType As ICellType
'Usage
 
Dim instance As AlternatingRow
Dim value As ICellType
 
instance.CellType = value
 
value = instance.CellType
public ICellType CellType {get; set;}

Property Value

ICellType object containing the cell type for cells in this alternating row
Example
This example creates a ButtonCell and then assigns it to the first AlternatingRow.
FarPoint.Web.Spread.ButtonCellType btncell = new FarPoint.Web.Spread.ButtonCellType();
FpSpread1.Sheets[0].AlternatingRows[0].CellType = btncell;
Dim btncell As New FarPoint.Web.Spread.ButtonCellType()
FpSpread1.Sheets(0).AlternatingRows(0).CellType = btncell
See Also

Reference

AlternatingRow Class
AlternatingRow Members
ICellType Interface