Spread Windows Forms 10.0 Product Documentation
ActiveSheetTab Property
Example 


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
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

TabStrip Class
TabStrip Members

 

 


Copyright © GrapeCity, inc. All rights reserved.