Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / GroupInfo Class / BackColor Property
Example


In This Topic
    BackColor Property (GroupInfo)
    In This Topic
    Gets or sets the background color of the grouping information.
    Syntax
    'Declaration
     
    Public Property BackColor As Color
    'Usage
     
    Dim instance As GroupInfo
    Dim value As Color
     
    instance.BackColor = value
     
    value = instance.BackColor
    public Color BackColor {get; set;}

    Property Value

    Color object containing the background color 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.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