PowerTools SPREAD for ASP.NET 8.0J
BackColor プロパティ (AjaxComboBoxCellType)

セルの背景色を取得または設定します。
構文
'Declaration
 
Public Property BackColor As Color
public Color BackColor {get; set;}
次のサンプルコードは、BackColorプロパティを設定します。
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
参照

AjaxComboBoxCellType クラス
AjaxComboBoxCellType メンバ

 

 


© 2003-2015, GrapeCity inc. All rights reserved.