Spread for ASP.NET 11 Product Documentation
Tab Property
Example 


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > FpSpread Class : Tab Property
Gets the sheet tab name information for the component.
Syntax
'Declaration
 
Public ReadOnly Property Tab As TabInfo
'Usage
 
Dim instance As FpSpread
Dim value As TabInfo
 
value = instance.Tab
public TabInfo Tab {get;}

Property Value

TabInfo object that contains the sheet name tab information
Example
This example creates a spreadsheet with three tabs, and sets the color of the background and the border for the active sheet name tab and the color for the text for all the sheet name tabs.
FpSpread1.Sheets.Count = 3;
FpSpread1.Tab.ActiveTabBackColor = Color.Red;
FpSpread1.Tab.ActiveTabBorderColor = Color.Blue;
FpSpread1.Tab.TextColor = Color.White;
FpSpread1.Sheets.Count = 3
FpSpread1.Tab.ActiveTabBackColor = Color.Red
FpSpread1.Tab.ActiveTabBorderColor = Color.Blue
FpSpread1.Tab.TextColor = Color.White
See Also

Reference

FpSpread Class
FpSpread Members
TabInfo Class
TabControlPolicy Enumeration

User-Task Documentation

Displaying Sheet Names