Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / TabStrip Class / DefaultSheetTab Property
Example


In This Topic
    DefaultSheetTab Property
    In This Topic
    Gets the default sheet tab.
    Syntax
    'Declaration
     
    Public ReadOnly Property DefaultSheetTab As SheetTab
    'Usage
     
    Dim instance As TabStrip
    Dim value As SheetTab
     
    value = instance.DefaultSheetTab
    public SheetTab DefaultSheetTab {get;}

    Property Value

    SheetTab object containing the sheet tab
    Example
    This example changes the background color for all the sheet tabs to yellow.
    fpSpread1.Sheets.Count = 5;
    FarPoint.Win.Spread.SheetTab st;
    st = fpSpread1.TabStrip.DefaultSheetTab;
    st.BackColor = Color.Yellow;
    
    fpSpread1.Sheets.Count = 5
    Dim st As FarPoint.Win.Spread.SheetTab
    st = fpSpread1.TabStrip.DefaultSheetTab
    st.BackColor = Color.Yellow
    
    See Also