Spread ASP.NET 15
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / Row Class / CellType Property

In This Topic
    CellType Property (Row)
    In This Topic
    Gets or sets the default cell type for cells in this row.
    Public Property CellType As ICellType
    Dim instance As Row
    Dim value As ICellType
    instance.CellType = value
    value = instance.CellType
    public ICellType CellType {get; set;}

    Property Value

    ICellType object that contains the cell type for cells in this row
    This example creates a Row object and a ButtonCellType object for the active sheet. The ButtonCellType object is assigned to the CellType property of the Row object, such that the cells of the first row of the active sheet are all button cells.
    FarPoint.Web.Spread.Row myrow;
    FarPoint.Web.Spread.ButtonCellType mycell = new FarPoint.Web.Spread.ButtonCellType();
    myrow = FpSpread1.ActiveSheetView.Rows[0];
    myrow.CellType = mycell;
    Dim myrow As FarPoint.Web.Spread.Row
    Dim mycell As New FarPoint.Web.Spread.ButtonCellType()    
    myrow = FpSpread1.ActiveSheetView.Rows(0)
    myrow.CellType = mycell
    See Also