Spread ASP.NET 15
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / ComboBoxCellType Class / BackColor Property

In This Topic
    BackColor Property (ComboBoxCellType)
    In This Topic
    Gets or sets the background color of the cell.
    Public Property BackColor As Color
    Dim instance As ComboBoxCellType
    Dim value As Color
    instance.BackColor = value
    value = instance.BackColor
    public Color BackColor {get; set;}

    Property Value

    Color object containing the background color
    This example sets the backcolor for the combobox.
    FarPoint.Web.Spread.ComboBoxCellType cb = new FarPoint.Web.Spread.ComboBoxCellType(new string[] {
    cb.ShowButton = true;
    cb.BackColor = Drawing.Color.Coral;
    FpSpread1.ActiveSheetView.Cells[0, 0].CellType = cb;
    Dim cb As New FarPoint.Web.Spread.ComboBoxCellType(New String() {"One", "Two", "Three"})
    cb.ShowButton = True
    cb.BackColor = Drawing.Color.Coral
    FpSpread1.ActiveSheetView.Cells(0, 0).CellType = cb
    See Also