Spread Windows Forms 11.0 Product Documentation
GroupInfo Constructor
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > GroupInfo Class : GroupInfo Constructor
Creates a set of grouping information.
Creates a new group information object.
Syntax
'Declaration
 
Public Function New()
'Usage
 
Dim instance As New GroupInfo()
public GroupInfo()
Example
This example creates a group bar.
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.BackColor = Color.Yellow;

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.BackColor = Color.Yellow
FpSpread1.ActiveSheet.GroupInfos.Add(gi)
See Also

Reference

GroupInfo Class
GroupInfo Members