Gets or sets the text color of the grouping information.
Syntax
Visual Basic (Declaration) | |
---|
Public Property ForeColor As Color |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As GroupInfo
Dim value As Color
instance.ForeColor = value
value = instance.ForeColor |
C# | |
---|
public Color ForeColor {get; set;} |
Property Value
Color object containing the text color of the group area
Example
C# | Copy Code |
---|
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);
|
Visual Basic | Copy Code |
---|
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) |
Requirements
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8
See Also