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


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

    Property Value

    SheetTab object containing the active sheet tab
    Example
    This example sets the background color for the active sheet tab to red.
    fpSpread1.Sheets.Count = 3;
    FarPoint.Win.Spread.SheetTab st;
    st = fpSpread1.TabStrip.ActiveSheetTab;
    st.BackColor = Color.Red;
    
    fpSpread1.Sheets.Count = 3
    Dim st As FarPoint.Win.Spread.SheetTab
    st = fpSpread1.TabStrip.ActiveSheetTab
    st.BackColor = Color.Red
    
    See Also