Spread for ASP.NET 7.0 Product Documentation
CellType Property
See Also  Example Support Options
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > AlternatingRow Class : CellType Property


Glossary Item Box

Gets or sets the cell type for cells in this alternating row.

Syntax

Visual Basic (Declaration) 
Public Property CellType As ICellType
Visual Basic (Usage)Copy Code
Dim instance As AlternatingRow
Dim value As ICellType
 
instance.CellType = value
 
value = instance.CellType
C# 
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.
C#Copy Code
FarPoint.Web.Spread.ButtonCellType btncell = new FarPoint.Web.Spread.ButtonCellType();
FpSpread1.Sheets[0].AlternatingRows[0].CellType = btncell;
Visual BasicCopy Code
Dim btncell As New FarPoint.Web.Spread.ButtonCellType()
FpSpread1.Sheets(0).AlternatingRows(0).CellType = btncell

Requirements

Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.