Spread Windows Forms 11.0 Product Documentation
ActiveSheetTab Property
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > TabStrip Class : ActiveSheetTab Property
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

Reference

TabStrip Class
TabStrip Members