Gets or sets the background color of the cell.
Syntax
Visual Basic (Declaration) | |
---|
Public Property BackColor As Color |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As ComboBoxCellType
Dim value As Color
instance.BackColor = value
value = instance.BackColor |
C# | |
---|
public Color BackColor {get; set;} |
Property Value
Color object containing the background color
Example
This example sets the backcolor for the combobox.
C# | Copy Code |
---|
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;
|
Visual Basic | Copy Code |
---|
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 |
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also