Spread for ASP.NET 9.0 Product Documentation
Tab Property
Example 


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
Requirements

Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

FpSpread Class
FpSpread Members
TabInfo Class
TabControlPolicy Enumeration

User-Task Documentation

Displaying Sheet Names

 

 


Copyright © GrapeCity, inc. All rights reserved.