PowerTools SPREAD for ASP.NET 8.0J
ForeColor プロパティ (ButtonCellType)

セルの前景色(通常はテキストの色)を取得または設定します。
構文
'Declaration
 
Public Property ForeColor As Color
public Color ForeColor {get; set;}

プロパティ値

テキスト色を含む Color オブジェクト
次のサンプルコードは、ボタンの背景色とテキストの色を設定します。
FarPoint.Web.Spread.ButtonCellType btn = new FarPoint.Web.Spread.ButtonCellType();
btn.Text = "FarPoint";
btn.BackColor = Drawing.Color.Khaki;
btn.ForeColor = Drawing.Color.Red;
FpSpread1.ActiveSheetView.Cells[0, 0].CellType = btn;
Dim btn As New FarPoint.Web.Spread.ButtonCellType
btn.Text = "FarPoint"
btn.BackColor = Drawing.Color.Khaki
btn.ForeColor = Drawing.Color.Red
FpSpread1.ActiveSheetView.Cells(0, 0).CellType = btn
参照

ButtonCellType クラス
ButtonCellType メンバ

 

 


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