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


In This Topic
    BackColor Property (SheetTab)
    In This Topic
    Gets or sets the background color for the sheet name tab.
    Syntax
    'Declaration
     
    Public Property BackColor As Color
    'Usage
     
    Dim instance As SheetTab
    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 sheet tab
    Example
    This example changes the background color of the first row in the configured column.
    fpSpread1.InterfaceRenderer = null;
    fpSpread1.VisualStyles = FarPoint.Win.VisualStyles.Off;
    FarPoint.Win.Spread.SheetTab st; 
    st = fpSpread1.TabStrip.ActiveSheetTab; 
    st.BackColor = Color.Red; 
    
    FpSpread1.InterfaceRenderer = Nothing
    FpSpread1.VisualStyles = FarPoint.Win.VisualStyles.Off
    Dim st As FarPoint.Win.Spread.SheetTab
    st = FpSpread1.TabStrip.ActiveSheetTab
    st.BackColor = Color.Red
    See Also