Spread for ASP.NET 10 Product Documentation
BackColor Property (AjaxComboBoxCellType)
Example 


Gets or sets the background color of the cell.
Syntax
'Declaration
 
Public Property BackColor As Color
'Usage
 
Dim instance As AjaxComboBoxCellType
Dim value As Color
 
instance.BackColor = value
 
value = instance.BackColor
public Color BackColor {get; set;}
Example
This example sets the BackColor property.
FarPoint.Web.Spread.Extender.AjaxComboBoxCellType combo = new FarPoint.Web.Spread.Extender.AjaxComboBoxCellType();
combo.BackColor = System.Drawing.Color.Aquamarine;
combo.AutoCompleteMode = AjaxControlToolkit.ComboBoxAutoCompleteMode.Append;
combo.ShowEditor = true;
combo.DropDownStyle = AjaxControlToolkit.ComboBoxStyle.DropDown;
combo.ItemInsertLocation = AjaxControlToolkit.ComboBoxItemInsertLocation.OrdinalText;
combo.Items.Add("test");
combo.Items.Add("second");
combo.CaseSensitive = true;
combo.AutoPostBack = true;
FpSpread1.Sheets[0].Cells[0, 0].CellType = combo;
Dim combo As New FarPoint.Web.Spread.Extender.AjaxComboBoxCellType()
combo.BackColor = System.Drawing.Color.Aquamarine
combo.AutoCompleteMode = AjaxControlToolkit.ComboBoxAutoCompleteMode.Append
combo.ShowEditor = True
combo.DropDownStyle = AjaxControlToolkit.ComboBoxStyle.DropDown
combo.ItemInsertLocation = AjaxControlToolkit.ComboBoxItemInsertLocation.OrdinalText
combo.Items.Add("test")
combo.Items.Add("second")
combo.CaseSensitive = True
combo.AutoPostBack = True
FpSpread1.Sheets(0).Cells(0, 0).CellType = combo
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

AjaxComboBoxCellType Class
AjaxComboBoxCellType Members

 

 


Copyright © GrapeCity, inc. All rights reserved.