Spread ASP.NET 16
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / Cell Class / CellType Property

In This Topic
    CellType Property (Cell)
    In This Topic
    Gets or sets the type of cell.
    Public Property CellType As ICellType
    Dim instance As Cell
    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 this cell

    The setting for this property can be overridden if a named style is assigned to the cell using the StyleName property, and that named style sets the cell type.

    This example creates a Cell object, sets in BackColor and ForeColor properties, defines it as a CheckBox cell type, and puts a border around it. When the user edits the cell and checks the CheckBox, the text of the cell changes.
    See Also