Spread ASP.NET 14
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / AlternatingRow Class / CellType Property
Example


In This Topic
    CellType Property (AlternatingRow)
    In This Topic
    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