PowerTools SPREAD for Windows Forms 8.0J
BackColor プロパティ (DropDownCalculatorInfo)


ドロップダウンウィンドウの背景色を取得または設定します。
構文
'Declaration
 
Public Property BackColor As Color
'使用法
 
Dim instance As DropDownCalculatorInfo
Dim value As Color
 
instance.BackColor = value
 
value = instance.BackColor
public Color BackColor {get; set;}

プロパティ値

DropDownCalculatorの背景色を示すSystem.Drawing.Color値。
デフォルト値はSystem.Drawing.SystemColors.Controlです。
例外
例外説明
System.ArgumentException値が有効ではありません。
解説
BackColor プロパティを使用すると、コントロールの背景色をフォームの配色に融合させることができます。
次のサンプルコードは、BackColorプロパティを設定します。
GrapeCity.Win.Spread.InputMan.CellType.GcNumberCellType ncell1 = new GrapeCity.Win.Spread.InputMan.CellType.GcNumberCellType();
ncell1.DropDownCalculator.BackColor = Color.Bisque;
ncell1.DropDownCalculator.BorderStyle = BorderStyle.FixedSingle;
fpSpread1.ActiveSheet.Cells[1, 1].CellType = ncell1;
Dim ncell1 As New GrapeCity.Win.Spread.InputMan.CellType.GcNumberCellType()
ncell1.DropDownCalculator.BackColor = Color.Bisque
ncell1.DropDownCalculator.BorderStyle = BorderStyle.FixedSingle
FpSpread1.ActiveSheet.Cells(1, 1).CellType = ncell1
参照

DropDownCalculatorInfo クラス
DropDownCalculatorInfo メンバ

 

 


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