GrapeCity SPREAD for Windows Forms 11.0J
ForeColor プロパティ (GroupInfo)


グループ化情報のテキストの色を取得または設定します。
構文
'Declaration
 
Public Property ForeColor As Color
'使用法
 
Dim instance As GroupInfo
Dim value As Color
 
instance.ForeColor = value
 
value = instance.ForeColor
public Color ForeColor {get; set;}

プロパティ値

グループ領域のテキスト色を含む Color オブジェクト
fpSpread1.BorderCollapse = FarPoint.Win.Spread.BorderCollapse.Separate;
fpSpread1.AllowColumnMove = true;
fpSpread1.ActiveSheet.GroupBarInfo.Visible = true;
fpSpread1.ActiveSheet.AllowGroup = true;

FarPoint.Win.Spread.GroupInfo gi = new FarPoint.Win.Spread.GroupInfo();

gi.Font = new Font("MS Sans Serif", 12, FontStyle.Bold);
gi.ForeColor = Color.Red;

fpSpread1.ActiveSheet.GroupInfos.Add(gi);
FpSpread1.BorderCollapse = FarPoint.Win.Spread.BorderCollapse.Separate
FpSpread1.AllowColumnMove = True
FpSpread1.ActiveSheet.GroupBarInfo.Visible = True
FpSpread1.ActiveSheet.AllowGroup = True

Dim gi As New FarPoint.Win.Spread.GroupInfo
gi.Font = New Font("MS Sans Serif", 12, FontStyle.Bold)
gi.ForeColor = Color.Red

FpSpread1.ActiveSheet.GroupInfos.Add(gi)
参照

GroupInfo クラス
GroupInfo メンバ

 

 


© 2004-2018, GrapeCity Inc. All rights reserved.