Spread Windows Forms 11.0 Product Documentation
Font Property (GroupInfo)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > GroupInfo Class : Font Property
Gets or sets the font settings of the grouping information.
Syntax
'Declaration
 
Public Property Font As Font
'Usage
 
Dim instance As GroupInfo
Dim value As Font
 
instance.Font = value
 
value = instance.Font
public Font Font {get; set;}

Property Value

Font object containing the font of the group area
Example
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)
See Also

Reference

GroupInfo Class
GroupInfo Members