Spread for ASP.NET 11 Product Documentation
BackColor Property (ComboBoxCellType)
Example 


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > ComboBoxCellType Class : BackColor Property
Gets or sets the background color of the cell.
Syntax
'Declaration
 
Public Property BackColor As Color
'Usage
 
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
Example
This example sets the backcolor for the combobox.
FarPoint.Web.Spread.ComboBoxCellType cb = 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;
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

Reference

ComboBoxCellType Class
ComboBoxCellType Members