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


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
Requirements

Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

ComboBoxCellType Class
ComboBoxCellType Members

 

 


Copyright © GrapeCity, inc. All rights reserved.